Re: Path animation with CGPathAddArcToPoint
Re: Path animation with CGPathAddArcToPoint
- Subject: Re: Path animation with CGPathAddArcToPoint
- From: John Harper <email@hidden>
- Date: Tue, 02 Sep 2008 10:46:25 -0700
On Sep 2, 2008, at 10:30 AM, Gordon Hughes wrote:
I guess I had gotten lucky with a previous path animation attempt (a
MoveToPoint and EllipseInRect) when I used the paced calculation
mode because it worked. According to the CAKeyframeAnimation Class
Reference, although it's available in OS X 10.5, it's not currently
implemented.
That is incorrect (probably left over from a prerelease version),
paced animation should work correctly. If it doesn't, please file a
radar, with a test case if possible, so we can fix it.
After commenting out the calculationMode property of the path, the
layers
animate around the arc, but pause briefly at the start/end point of
each
arc, making the animation anything but smooth.
That is what the "paced" mode is supposed to fix, so what you're
seeing there is expected. (The distance along each path segment is not
linearly related to the parametric value)
John
_______________________________________________
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