• 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
Re: Path animation with CGPathAddArcToPoint
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Path animation with CGPathAddArcToPoint
      • From: John Harper <email@hidden>
References: 
 >Re: Path animation with CGPathAddArcToPoint (From: "Gordon Hughes" <email@hidden>)
 >Re: Path animation with CGPathAddArcToPoint (From: John Harper <email@hidden>)

  • Prev by Date: Re: Adding PDFPage to PDFDocument crashes
  • Next by Date: Re: Best 'native' formats for NSImage and NSSound?
  • Previous by thread: Re: Path animation with CGPathAddArcToPoint
  • Next by thread: Re: Path animation with CGPathAddArcToPoint
  • Index(es):
    • Date
    • Thread