Skip navigation.
 
mlGetting the mouse position in pixels in QC
FROM : Jonathan Selander
DATE : Mon Jan 12 10:29:33 2009

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

Related mailsAuthorDate
mlGetting the mouse position in pixels in QC Jonathan Selander Jan 12, 10:29
mlRe: Getting the mouse position in pixels in QC Kyle Sluder Jan 12, 10:51