RE: Stroking "on the inside" with NSBezierPath
RE: Stroking "on the inside" with NSBezierPath
- Subject: RE: Stroking "on the inside" with NSBezierPath
- From: Ulai Beekam <email@hidden>
- Date: Fri, 30 Jan 2009 22:35:42 +0000
- Importance: Normal
The clipping path was indeed what I was looking for to solve this. Thank you sirs! :)
>> 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?
>> Thanks,U
>
> Just set the clip path to your path before stroking it.
>
> Matthew
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx_______________________________________________
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