Re: Appending CGPath to CGPath

2011-04-16 Thread Graham Cox
On 16/04/2011, at 4:40 PM, Roland King wrote: > Where I'm getting the most time spent is in CGPathAddArc(), and this > particular shape has a lot of them. My assumption here is that CGPathAddArc, > which takes two angles, is having to calculate a bunch of trig functions of > those and figure o

Re: Appending CGPath to CGPath

2011-04-15 Thread Roland King
On 16-Apr-2011, at 12:17 PM, Quincey Morris wrote: > On Apr 15, 2011, at 20:55, Roland King wrote: > >> I have a CGPath which represents a small (but somewhat complicated) shape >> and I want to append a number of them together, connected with straight >> lines, to form a complete closed shape

Re: Appending CGPath to CGPath

2011-04-15 Thread Roland King
On 16-Apr-2011, at 12:23 PM, Graham Cox wrote: > > On 16/04/2011, at 1:55 PM, Roland King wrote: > >> I have a CGPath which represents a small (but somewhat complicated) shape >> and I want to append a number of them together, connected with straight >> lines, to form a complete closed shape

Re: Appending CGPath to CGPath

2011-04-15 Thread Graham Cox
On 16/04/2011, at 1:55 PM, Roland King wrote: > I have a CGPath which represents a small (but somewhat complicated) shape and > I want to append a number of them together, connected with straight lines, to > form a complete closed shape which I then want to use as a clip region. I > thought th

Re: Appending CGPath to CGPath

2011-04-15 Thread Quincey Morris
On Apr 15, 2011, at 20:55, Roland King wrote: > I have a CGPath which represents a small (but somewhat complicated) shape and > I want to append a number of them together, connected with straight lines, to > form a complete closed shape which I then want to use as a clip region. I > thought tha

Appending CGPath to CGPath

2011-04-15 Thread Roland King
I have a CGPath which represents a small (but somewhat complicated) shape and I want to append a number of them together, connected with straight lines, to form a complete closed shape which I then want to use as a clip region. I thought that CGPathAddPath would do what I wanted as I can easily