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: Graham Cox <email@hidden>
- Date: Sun, 15 Feb 2009 11:54:34 +1100
On 15 Feb 2009, at 9:18 am, Kyle Sluder wrote:
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.
Weeeelll... thanks, but this doesn't do anything close to what I need.
A translated path is not the same as a parallel offset of a path, or
one clipped to left or right. NSShadow (apart from being a total
performance killer) is also just a translation, albeit a blurred one.
The concept of left/right of a path is clearly much different from a
fixed x,y displacement.
--Graham
_______________________________________________
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