• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Points
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Points
      • From: Steve Christensen <email@hidden>
    • Re: Points
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Handle data disappearing out from underneath me
  • Next by Date: Re: Multiple developers and nib files
  • Previous by thread: Re: Current Hour & Minutes
  • Next by thread: Re: Points
  • Index(es):
    • Date
    • Thread