Re: OS X Preview -- wrong size
Re: OS X Preview -- wrong size
- Subject: Re: OS X Preview -- wrong size
- From: bruce fraser <email@hidden>
- Date: Thu, 24 Feb 2005 16:32:52 -0800
At 11:01 AM +1100 2/25/05, Graeme Gill wrote:
Robert Clair wrote:
as a preference or by using the Quartz API:
CGDisplayErr GetDisplayDPI(
CFDictionaryRef displayModeDict,
CGDirectDisplayID displayID,
double *horizontalDPI, double *verticalDPI )
This doesn't appear to be a Quartz API, it's a tech note code fragment,
hence doesn't appear in the Quartz reference documentation.
(See <http://developer.apple.com/qa/qa2001/qa1217.html>.)
The code fragment computes screen resolution by retrieving the
displays physical size from using the IOKit API, and then retrieving
the display size in pixels using CoreGraphics API.
That can work for LCDs, but not for CRTs, because the display
physical size doesn't have a unique mapping to the actual image area
being used....
--
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Colorsync-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden