My Quartz composition is in an OpenGLContext in an NSWindow.
If I change the size of the window, using setFrame, the composition does not
scale accordingly, but remains at the original resolution. i.e. if the width
and height of the window are halved, one only sees the top left quarter of
the composition area.
I have found a workaround :-
[_openGLContext clearDrawable];
[_window setFrame:rect display:NO];
[_openGLContext setView: [_window contentView]];
However this seems like a using a hammer to crack a nut. Is there any way to
force the QC composition to rescale with the window ?
I've tried all the usual suspects (calling update on the Glcontext, calling
setBounds on the window content, setting autoresizing parameters) without
any luck so far.
Cheers,
Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden
This email sent to email@hidden