Re: One pixel wide bezier path
Re: One pixel wide bezier path
- Subject: Re: One pixel wide bezier path
- From: Andy Armstrong <email@hidden>
- Date: Wed, 25 Jan 2006 20:51:10 +0000
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