Readout of distance whilst drawing curve on surface..possible?

Can one measure a distance across a surface whilst drawing a curve on that surface ?

Also might as well ask at the same time.,…whilst drawing a curve not on a surface ?

I have a distance I have to achieve across a surface and rather than draw on a surface then keep chopping bits off until I get to the length I need I want to do so whilst drawing it.