bitmapImageRepForCachingDisplayInRect & CALayers ...
bitmapImageRepForCachingDisplayInRect & CALayers ...
- Subject: bitmapImageRepForCachingDisplayInRect & CALayers ...
- From: Mic Pringle <email@hidden>
- Date: Thu, 2 Apr 2009 14:21:04 +0100
Hi,
I have an NSView that hosts several CAlayers. Each layer composites an
image over the previous ones to build up a complete image (think
layers in Photoshop).
What I'd like to do now is get an image rep of what the user see's on
screen, the final image as it were.
I know I can use bitmapImageRepForCachingDisplayInRect on the view
which hosts the CA layers which should get me a bitmap rep of the view
and it's contents, but does anyone know if this still works in a layer
hosting situation where none of the actual drawing is performed by the
view ?
If not, does anyone know how to best achieve what I'm after, or if
it's even possible ?
Thanks
-Mic
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden