Re: Stroking "on the inside" with NSBezierPath
Re: Stroking "on the inside" with NSBezierPath
- Subject: Re: Stroking "on the inside" with NSBezierPath
- From: David Duncan <email@hidden>
- Date: Fri, 30 Jan 2009 12:29:08 -0800
On Jan 30, 2009, at 12:19 PM, Ulai Beekam wrote:
The default stroke seems to be one that assumes the path you make is
the center of the stroke. How can I make the stroke be on one of the
*side* of the path? Depending on how you look at it it could be to
the "right", "left", "outside" or "inside". Any way to modify that?
No, Quartz (which is the underlying technology that NSBezierPath uses)
does not support stroking on only one side of a path. Depending on
exactly what you are doing there are various workarounds for this, but
you will need to be more explicit about what you want to accomplish.
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden