• 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: NSBezierCurve and Line Width
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBezierCurve and Line Width


  • Subject: Re: NSBezierCurve and Line Width
  • From: "R. Scott Thompson" <email@hidden>
  • Date: Fri, 3 Dec 2004 10:35:14 -0600

It may be possible to produce the effect you're after using a transformation matrix (e.g. a "distort" transform). Not sure though if that would be more difficult than using your polygon approach.

That's not going to be possible. The transformations in Quartz 2D are all affine transformations and one of the features of the affine transformation is that parallel lines are always parallel no matter what transformation you apply. Since the "sides" of a stroke are parallel, they will always be parallel under an affine transformation. There's no way to get the stroke to taper off (the way he described) with Affine transformations. You need a perspective component in the transformation to do that.


Scott

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSBezierCurve and Line Width (From: Jeff LaMarche <email@hidden>)
 >Re: NSBezierCurve and Line Width (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: NSBezierCurve and Line Width
  • Next by Date: Re: I need help compiling an application
  • Previous by thread: Re: NSBezierCurve and Line Width
  • Next by thread: Re: NSBezierCurve and Line Width
  • Index(es):
    • Date
    • Thread