On Wed, 5 May 2010 17:52:53 +0200, Gustavo Pizano
<gustavxcodepic...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to