I am trying to make a narrow-purpose graphical editor by subclassing 
canvas%. I'm reading mouse events to get coordinates, but they're 
coordinates on screen, and when I try to draw the results to the canvas' 
dc, they appear in the wrong place. I'm wondering what is the best way to 
convert coordinates so that the results will show up under the cursor? I 
saw a similar question asked previously about an editor-canvas%, but the 
answer given was to use editor-canvas%' global-to-local function, and that 
class is unsuitable to my purposes.


You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to