• 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: lines in bezierpath look fuzzy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >lines in bezierpath look fuzzy (From: Francisco Tolmasky <email@hidden>)

  • Prev by Date: Re: Subject: Quotation marks
  • Next by Date: Re: [BUG?] NSOutlineView's -rowForItem does *not* work
  • Previous by thread: Re: lines in bezierpath look fuzzy
  • Next by thread: this is a test
  • Index(es):
    • Date
    • Thread