On Sun, 7 Nov 2010 09:41:05 +1000, Gideon King <gid...@novamind.com> said: >If I could draw the curve myself during animation, I could get it to do what I >want, but I don't see any way of doing that. >
Actually, if I'm understanding the question correctly, that might be a good solution. Perhaps you'd have to give up use of the shape layer and just use an ordinary layer - I'm not sure. But you can probably express your curve as an animatable property and when that property is animated your drawing code (e.g. drawInContext) will be called multiple times. The fact that you can supply your own animatable properties is one of the coolest and least known features of layers. m. -- matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.apeth.net/matt/default.html#applescriptthings_______________________________________________ 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