• 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
Re: Resolution Independent View?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resolution Independent View?


  • Subject: Re: Resolution Independent View?
  • From: Uli Kusterer <email@hidden>
  • Date: Tue, 12 May 2009 16:29:49 +0200

On 12.05.2009, at 12:35, Alastair Houghton wrote:
If, however, you really want the display to physically show a 5cm x 5cm block, you can obtain the screen's actual dimensions in millimeters from CGDisplayScreenSize() and then use those numbers in conjunction with the pixel dimensions to calculate a suitable transform.


Last I looked into this, many screens just returned 72 dpi from that API, though. Many screens apparently don't provide this information, or not correctly. Make sure to do some tests, particularly with cheap screens from the electronics discounter around the corner.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de





_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Resolution Independent View?
      • From: Michael Ash <email@hidden>
References: 
 >Resolution Independent View? (From: Chunk 1978 <email@hidden>)
 >Re: Resolution Independent View? (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: NSTimer with userInfo
  • Next by Date: Re: how to set font in NSTextView
  • Previous by thread: Re: Resolution Independent View?
  • Next by thread: Re: Resolution Independent View?
  • Index(es):
    • Date
    • Thread