Re: One pixel wide bezier path
Re: One pixel wide bezier path
- Subject: Re: One pixel wide bezier path
- From: Eamon Ford <email@hidden>
- Date: Wed, 25 Jan 2006 13:05:15 -0800
Thanks! That made it work.
On Jan 25, 2006, at 12:51 PM, Andy Armstrong wrote:
On 25 Jan 2006, at 20:44, Eamon Ford wrote:
I can't make a 1 pixel wide bezier path; the only time I can get
it to be 1 pixel wide is if I use a certain degree of
transparency. Otherwise, the minimum is two pixels. What would be
a workaround for this?
You're using integer coordinates, right? Add 0.5 to the X and Y
coordinates of each of the points. Lines at integral coordinates
are considered to straddle two pixels.
--
Andy Armstrong, hexten.net
_______________________________________________
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