Forgot to mention... or ask.
I guess this come from where the view its positioned.. so If I want to draw anything I will have to do it at .5 on each point, shall I change instead the y origin to a .5 coordinate so I will don't don't put .5 on each drawing I make in the view? or the mistake comes from far more other place? Thanks Gustavo On Jan 2, 2010, at 11:37 AM, Graham Cox wrote: > > On 02/01/2010, at 9:29 PM, Gustavo Pizano wrote: > >> but nothing seems to work... what am I missing here? > > > You're drawing the line at an integer coordinate. That places it exactly > between the pixels on the screen, so to anti-alias the line, it gets drawn on > both sides at half brightness. Adding 0.5 to the x, y coordinates will draw a > crisp 1 pixel wide line. > > --Graham > > _______________________________________________ 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