Getting the mouse position in pixels in QC
Getting the mouse position in pixels in QC
- Subject: Getting the mouse position in pixels in QC
- From: Jonathan Selander <email@hidden>
- Date: Mon, 12 Jan 2009 10:29:33 +0100
Hi,
I'm trying to make something that can get the mouse position in pixels
in quartz composer using "rendering destination dimensions" and
"mouse". The idea is to dynamically be able to know if the mouse is
over a specific image or not.
If i have the mouse at 1/4 of the screen, the "opengl position" or
whatever it's called is -0.5, how can i use this to get the actual
pixel position?
Thanks
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden