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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to