Theocacao
Leopard
Design Element
Comment on "Cocoa Graphics Frameworks"
by Preston — Sep 23
Joachim Bengtsson:

"Jeroen Leenarts: I think that with 10.5, you can't make that assumption anymore, as the UI is scaleable. I'm not sure, though. If you want to make pixel-exact drawing, you could always read more about Pixel exact drawing in the documentation ;)"

Actually, one of the reasons for resolution independence is to allow you to make length assumptions regardless of the device's output resolution.  In the new system, you target points as before, but now those points can automaticaly scale to 72 dpi or whatever the user is using on their device.  I think what you meant to say was that without 10.5, you can't make those assumptions because of non-constant device dpi.
Back to "Cocoa Graphics Frameworks"
Design Element

Copyright © Scott Stevenson 2004-2015