| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On May 31, 2006, at 1:07 PM, Olaf Krzikalla wrote:
I don't understand what you want the "dummy" CGLayer for. You could simply create the actual CGLayer on the first invocation of (kEventClassControl, kEventControlDraw) and reuse that layer so long as the display environment for the view doesn't change. Depending on how the layer is used, it may be to your advantage to recreate the layer when the display environment changes (such as when the window containing the view moves to another screen).
Yes, you can mark your HIView as opaque (kHIViewFeatureIsOpaque) This feature tells the system that you intend to draw every pixel in the area of your view so the system need not bother drawing anything behind it. Scott |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartz-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartz-dev/email@hidden This email sent to email@hidden
| References: | |
| >How to get an CGLayer from an HIView? (From: "Olaf Krzikalla" <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.