Re: Removing or ignoring lineWidth property of an NSBezierPath instance

2009-04-27 Thread Tobias Zimmerman
that has a different dot-pitch, pixel ratio, etc. From: Graham Cox graham@bigpond.com Date: Thu, 23 Apr 2009 10:27:25 +1000 To: Tobias Zimmerman automa...@gmail.com Cc: cocoa-dev@lists.apple.com cocoa-dev@lists.apple.com Subject: Re: Removing or ignoring lineWidth property

Re: Removing or ignoring lineWidth property of an NSBezierPath instance

2009-04-27 Thread Graham Cox
On 28/04/2009, at 3:54 AM, Tobias Zimmerman wrote: I think that, at best, the documentation is ambiguous. It would be clearer specifically saying If no value was set explicitly for the receiver, this method [lineWidth] returns the default line width -at the time the receiver was

Removing or ignoring lineWidth property of an NSBezierPath instance

2009-04-22 Thread Tobias Zimmerman
I am trying to find a way to ensure that a series of NSBezierPaths are drawn using [NSBezierPath defaultLineWidth] value. However, contrary to documentation and expectation, my paths seem to automatically assign themselves the value 1.0 for their own lineWidth property. First, the documentation

Re: Removing or ignoring lineWidth property of an NSBezierPath instance

2009-04-22 Thread Alastair Houghton
On 22 Apr 2009, at 22:19, Tobias Zimmerman wrote: First, the documentation for NSBezierPath’s -(CGFloat)lineWidth method states that: If no value was set explicitly for the receiver, this method returns the default line width. This suggests that a newly created NSBezierPath should have no

Re: Removing or ignoring lineWidth property of an NSBezierPath instance

2009-04-22 Thread Graham Cox
On 23/04/2009, at 7:19 AM, Tobias Zimmerman wrote: (By way of further explanation, the project this arises in involves a set of bezier paths that are generated in one program and archived for use in a separate program. I would like the lineWidth and other drawing specifics such as