Hi

I'm wanting to create a CGImageRef from a quartz based CGContextRef, so that I can feed a CALayer with it. Is there a preferred way of doing this? I did think of creating a CGLayer, drawing into it's context, and then creating a CGImageRef via a CIContext createCGImage:inRect: call - is that recommended? Or is there a simpler way?

I do not want to simply use the delete drawLayer:inContext: method, because I need to be able to feed the image that I'm drawing into more than one layer.

Thanks
--
John Clayton
Skype: johncclayton




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to