CALayer and CGContexts
CALayer and CGContexts
- Subject: CALayer and CGContexts
- From: John Clayton <email@hidden>
- Date: Wed, 30 Jul 2008 18:50:12 +0200
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 (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