On Wed, 5 May 2010 17:52:53 +0200, Gustavo Pizano
<[email protected]> wrote:

> So at the beginning of my drawRect, shall I use NSIntegralRect([self
> bounds])?

yes, and use the resulting rect's origin as reference point for your
drawing.

> Im gonna give a try...   most probably I need antialiasing, because Im
> drawing some strings also in the view, so having no AA will affect them
> isn't it?

you can turn it on/off according to your needs: ie. turn it off, draw
vertical/horizontal lines that you don't want to become blurry, turn it on
and draw the rest.

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

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to