Re: A way to use multiple colours with one NSBezierPath?

2008-10-04 Thread Graham Cox
On 4 Oct 2008, at 1:54 pm, Michael Robinson wrote: I would like to draw one path, which is used as a border. I naively assumed I could change the colour of the path as it is constructed, but it seems this is not the case. If I change the colour (using [[NSColor blackColor] set]; for exam

A way to use multiple colours with one NSBezierPath?

2008-10-03 Thread Michael Robinson
Hello again I would like to draw one path, which is used as a border. I naively assumed I could change the colour of the path as it is constructed, but it seems this is not the case. If I change the colour (using [[NSColor blackColor] set]; for example), this changes the colour for the ent