I'm working on a QCPlugIn that I want to take input width and height
in Quartz Composer Units and then output a QCPlugInOutputImageProvider
image.

How do I convert the input units to pixels based on the current
rendering destination pixel dimensions? QCPlugInContext.bounds is in
units so it doesn't help.

Is using glGetIntegerv(GL_VIEWPORT) in execute:atTime:withArguments:
the recommended way to get the rendering destination pixel dimensions?


Andrew
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to