Re: Path animation with CGPathAddArcToPoint
Re: Path animation with CGPathAddArcToPoint
- Subject: Re: Path animation with CGPathAddArcToPoint
- From: "Gordon Hughes" <email@hidden>
- Date: Tue, 2 Sep 2008 15:41:19 -0400
John,
Thanks for your reply. I'll submit the radar later today.
I'm still curious about elliptical paths and 360 degree arcs. Do they
always start/end on horizontals, or is there something that I'm overlooking
to have the path start at an arbitrary point?
Gordon
On 9/2/08, John Harper <email@hidden> wrote:
>
>
> 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