Apologies, I was writing this response off line while I was reading your 
message and as i finished reading yours, I realized your problem was deeper. 
And apologies for wasting band width. 



> On Jun 7, 2016, at 3:39 PM, David Christiansen <da...@davidchristiansen.dk> 
> wrote:
> 
>> Why don’t you check the location of the mouse movement? The coordinates are 
>> close enough. 
> 
> I do check the location of the mouse movement to find a canvas location.
> What I was looking for a smarter way to do was to check whether or not
> that particular pixel was drawn by a particular pict that has previously
> been displayed in the canvas.
> 
> My best approach thus far is to draw the pict into a bitmap, off-screen,
> and see if it the corresponding pixel has been modified. I was hoping
> that someone knew a smarter way, perhaps in a part of the GUI API that I
> had not found, but it doesn't seem to be the case.
> 
> In any case, my current solution is working well enough for now.
> 
> /David
> 

-- 
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