Re: Can anyone suggest a way to do this?
Re: Can anyone suggest a way to do this?
- Subject: Re: Can anyone suggest a way to do this?
- From: Kyle Sluder <email@hidden>
- Date: Sat, 14 Feb 2009 17:18:03 -0500
On Fri, Feb 13, 2009 at 10:52 PM, Graham Cox <email@hidden> wrote:
> When stroking a path, I can clip to the inside or the outside of the path to
> get a stroke inside or outside of the path's edge. But if the path is
> open-ended, this doesn't work. Instead what I need is clipping to the "left"
> or "right" of a path, not to the "inside" or "outside".
I'd either use NSShadow like Benjamin said, or if that doesn't work
I'd clip a translated version of the path, draw the stroke, and then
pop the graphics context and draw the original path with no stroke.
--Kyle Sluder
_______________________________________________
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