strokes-event-closest-point

strokes-event-closest-point is a compiled Lisp function in `strokes.el'.

(strokes-event-closest-point EVENT &optional START-WINDOW)

Return the nearest position to where EVENT ended its motion.
This is computed for the window where EVENT's motion started,
or for window START-WINDOW if that is specified.