• 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: Drawing scaled lines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing scaled lines


  • Subject: Re: Drawing scaled lines
  • From: Robert Clair <email@hidden>
  • Date: Fri, 7 Jan 2005 20:35:40 -0500

Unfortunately there is no way to determine the display dpi
programatically

google + programatically monitor dpi = http://developer.apple.com/qa/qa2001/qa1217.html

quote: "IOKit can tell you the physical dimensions of the monitor  in
millimeters while CG knows the current display resolution."


Have you *tried* this ? Maybe it works on 10.3, and if so thank you Apple for fixing it,
but on 10.2 it idiotically returned "72" no matter what.



.........Bob Clair

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Drawing scaled lines
      • From: Alex Eddy <email@hidden>
  • Prev by Date: Re: Subject: WYSIWIG drawing vs printing (was drawing scaled
  • Next by Date: Re: Drawing scaled lines
  • Previous by thread: Re: Drawing scaled lines
  • Next by thread: Re: Drawing scaled lines
  • Index(es):
    • Date
    • Thread