Hello Simone. So at the beginning of my drawRect, shall I use NSIntegralRect([self bounds])?
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? G. On May 5, 2010, at 5:46 PM, Simone Tellini wrote: > On Wed, 05 May 2010 17:40:24 +0200, Simone Tellini > <cocoa-...@tellini.info> > 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 (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/gustavxcodepicora%40gmail.com > > This email sent to gustavxcodepic...@gmail.com _______________________________________________ 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