"Drawing" CATextLayer into a CGImageRef?
"Drawing" CATextLayer into a CGImageRef?
- Subject: "Drawing" CATextLayer into a CGImageRef?
- From: Tim Andersson <email@hidden>
- Date: Thu, 9 Oct 2008 18:25:27 +0200
Hi there!
In my application I have a CATextLayer (timeLayer) in a CALayer
(clockLayer). If I apply a shadow to my timeLayer and then animate
clockLayer using a CATransform3D, it animates VERY slowly.
I figured I would solve this problem by creating a "snapshot" image of
the
timeLayer, setting a new CALayers contents to the snapshot image, and
then
animating the new layer containing the snapshot.
The problem is that I have no idea of how to achieve this. If you know
any
other way of solving my problem, or how I can accomplish the above, it
would be very kind of you to share your thoughts.
Kind regards,
Tim Andersson
_______________________________________________
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