Re: Converting CGPathAddArcToPoint (or NSBezierPath equivalent) to a fixed number of CGPathAddCurveToPoint calls

2012-05-02 Thread Wim Lewis
On 30 Apr 2012, at 3:26 PM, Gideon King wrote: > Hi, I am using the CAShapeLayer's ability to animate a path, but the start > and end path need to have the same number of segments. > > I have been using CGPathAddArcToPoint to add the curves to my path. That > translates to CGPathAddCurveToPoin

Converting CGPathAddArcToPoint (or NSBezierPath equivalent) to a fixed number of CGPathAddCurveToPoint calls

2012-04-30 Thread Gideon King
Hi, I am using the CAShapeLayer's ability to animate a path, but the start and end path need to have the same number of segments. I have been using CGPathAddArcToPoint to add the curves to my path. That translates to CGPathAddCurveToPoint calls behind the scenes, but sometimes it adds one curv