Points
Points
- Subject: Points
- From: Ryan Brown <email@hidden>
- Date: Sun, 8 Apr 2007 13:26:13 -0700
[[NSScreen mainScreen] frame] reports the resolution of the main
screen in points. Points are defined to be 1/72th of an inch. If my
resolution is 1680x1050, [[NSScreen mainScreen] frame] returns (1680,
1050) and if my resolution (hypothetically) is 10x10 it returns (10,
10). But how can this be so? 10 pixels are being mapped onto to my
21" screen (making each pixel > 1in), so the number returned by
[[NSScreen mainScreen] frame] should be significantly higher. Why
isn't it? Is there some level of abstraction I'm missing?
Ryan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden