Sorry but this question too unspecific to be answered. Is it about how to decide if a position ( = mouse click ) on the canvas "matches" a curve ?

Uwe