On Fri, Feb 13, 2009 at 10:52 PM, Graham Cox <graham....@bigpond.com> 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com