Measure drawing accuracy

What would be the best way to measure the accuracy of drawing a line against a shape or letter? Does anyone have any ideas on how to accomplish such a task? For example, the line is within a tolerance of closeness so the user ‘wins.’

Thanks for looking.
I’d appreciate any words of encouragement. I’ve looked at point reduction and line drawing code all over. [import]uid: 10361 topic_id: 11955 reply_id: 311955[/import]