I may need to break down and learn something about graphics and drawing.

I use NSBezierPath in a -[NSView drawRect:] to do an engineering-style drawing. 
 Here is a tiny arrowhead pointing to a vertical “dimension line”:
  
Not very nice.  If instead I draw this in a graphics program, with antialiasing 
off, and save to a png file, the result is much clearer.  (Its accuracy is a 
little compromised, but that’s OK.)
  
Of course this is an old problem, which, I think, goes away with Retina 
displays.  But this is for an update to an OS X app, many of whom’s users have 
non-Retina displays.

Is there a way to draw thin lines in code, and get good results on non-Retina 
displays?  What should I read to learn how?

Jerry
_______________________________________________

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

This email sent to arch...@mail-archive.com

Reply via email to