• 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: Avoid drawing in half pixel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Avoid drawing in half pixel


  • Subject: Re: Avoid drawing in half pixel
  • From: Simone Tellini <email@hidden>
  • Date: Wed, 05 May 2010 17:46:06 +0200

On Wed, 05 May 2010 17:40:24 +0200, Simone Tellini
<email@hidden>
wrote:
> _______________________________________________
>

ok, this weird. If I reply with Thunderbird, the body of the message gets
eaten by the mailing list server.

I was saying:

> I was reading the apple docs about this topic,  and I tried at the
beginning of my drawRect
> method I did as in "Converting Coordinate Values" topic suggest to
convert my starting
> drawing point,  but that din't help. I still see the above behavior.

you should probably leave the view frame alone. You could use
NSIntegralRect() to properly adjust the coordinates of the area you draw
in.

Or you can disable anti-aliasing, if not needed. Check
-setShouldAntialias: in NSGraphicsContext

--
Simone Tellini
http://www.tellini.org
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Avoid drawing in half pixel
      • From: Gustavo Pizano <email@hidden>
References: 
 >Avoid drawing in half pixel (From: Gustavo Pizano <email@hidden>)
 >Re: Avoid drawing in half pixel (From: Simone Tellini <email@hidden>)
 >Re: Avoid drawing in half pixel (From: Gustavo Pizano <email@hidden>)
 >Re: Avoid drawing in half pixel (From: Simone Tellini <email@hidden>)

  • Prev by Date: Re: Avoid drawing in half pixel
  • Next by Date: Re: Authenticate NSFileManager Operations
  • Previous by thread: Re: Avoid drawing in half pixel
  • Next by thread: Re: Avoid drawing in half pixel
  • Index(es):
    • Date
    • Thread