Re: CAShapeLayer curved path animation

2010-11-08 Thread David Duncan
Could you share the before & after curves then? On Nov 6, 2010, at 6:36 PM, Gideon King wrote: > Sorry, I must have not been clear - these are not before and after curve > definitions. They are two approaches I tried. First I was using the curve to > approach, and when that wasn't working nicel

Re: CAShapeLayer curved path animation

2010-11-07 Thread Matt Neuburg
On Sun, 7 Nov 2010 09:41:05 +1000, Gideon King 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 u

Re: CAShapeLayer curved path animation

2010-11-06 Thread Gideon King
Sorry, I must have not been clear - these are not before and after curve definitions. They are two approaches I tried. First I was using the curve to approach, and when that wasn't working nicely, I tried the quad curve. On 07/11/2010, at 11:11 AM, David Duncan wrote: > On Nov 6, 2010, at 4:41

Re: CAShapeLayer curved path animation

2010-11-06 Thread David Duncan
On Nov 6, 2010, at 4:41 PM, Gideon King wrote: > I'm using a CAShapeLayer, and the animation of the shape of the curved path I > am using is doing really strange things (It seems to work fine on straight > lines). I have tried: > > CGPathMoveToPoint(tempPath, NULL, startPoint.x, startPoin

CAShapeLayer curved path animation

2010-11-06 Thread Gideon King
I'm using a CAShapeLayer, and the animation of the shape of the curved path I am using is doing really strange things (It seems to work fine on straight lines). I have tried: CGPathMoveToPoint(tempPath, NULL, startPoint.x, startPoint.y); CGPathAddQuadCurveToPoint(tempPath, NULL,