On Feb 25, 2010, at 4:55 PM, John Michael Zorko wrote:

> I'm interested in having a CAKeyframeAnimation leave a "trail" i.e. imagine 
> the image of a pencil being animated across the screen -- I want to draw a 
> path of where the pencil has been along with the animated pencil. However, 
> i'm not sure how to do this, since Core Animation is doing the drawing for 
> me. If anyone can offer some pointers, i'd be quite appreciative :-)


There isn't a simple way to do this on iPhone OS – the class that would make it 
simpler (CAEmitterLayer) is not available.

There are various approaches that all involve doing the work yourself, which 
means breaking the path apart into its components (CGPathApply) and doing the 
interpolation yourself.
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

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 arch...@mail-archive.com

Reply via email to