| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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 ?
________________________________________________________ Pierre-Olivier Latour email@hidden Quartz Composer Architect Graphics & Imaging Team
_______________________________________________ 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
| References: | |
| >Resizing window (From: Guy Brooker <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.