Re: lines in bezierpath look fuzzy
Re: lines in bezierpath look fuzzy
- Subject: Re: lines in bezierpath look fuzzy
- From: Alastair Houghton <email@hidden>
- Date: Sun, 14 Dec 2003 14:41:12 +0000
On 14 Dec 2003, at 12:12, Francisco Tolmasky wrote:
>
When I draw lines using an nsbezierpath they look "fuzzy" for some
>
reason. They're somewhat grayed and the edges look darker. All I
>
want is a nice one pixel line that does not look darker in the edges.
>
I've try changing the joint style and the cap style. Neither have
>
worked. Does anyone know what I'm doing wrong?
Take a look in my FAQ, at
http://www.alastairs-place.net/cocoa/faq.txt
FAQ 3.2.2 covers exactly this question.
I will make one comment though; the commonly suggested solution of just
offsetting by (0.5, 0.5) is only a partial solution, because unless you
change the end-cap style, you will still find antialiased pixels at the
ends of horizontal and vertical lines.
Kind regards,
Alastair.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.