• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can anyone suggest a way to do this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Can anyone suggest a way to do this?
      • From: Graham Cox <email@hidden>
References: 
 >Can anyone suggest a way to do this? (From: Graham Cox <email@hidden>)
 >Re: Can anyone suggest a way to do this? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Fwd: [Bug 68083] [Help Wanted][Variant] Add support for Objective-C
  • Next by Date: Re: Can anyone suggest a way to do this?
  • Previous by thread: Re: Can anyone suggest a way to do this?
  • Next by thread: Re: Can anyone suggest a way to do this?
  • Index(es):
    • Date
    • Thread