Measure while drawing