• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
"Drawing" CATextLayer into a CGImageRef?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"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


  • Follow-Ups:
    • Re: "Drawing" CATextLayer into a CGImageRef?
      • From: John Harper <email@hidden>
  • Prev by Date: QTMovie problem, thread-safety issue?
  • Next by Date: rolling my own drawer-like child window
  • Previous by thread: Re: QTMovie problem, thread-safety issue?
  • Next by thread: Re: "Drawing" CATextLayer into a CGImageRef?
  • Index(es):
    • Date
    • Thread