Re: NSBezierCurve and Line Width
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