Re: OS X Preview -- wrong size
Re: OS X Preview -- wrong size
- Subject: Re: OS X Preview -- wrong size
- From: Graeme Gill <email@hidden>
- Date: Fri, 25 Feb 2005 11:01:40 +1100
- Organization: Argyll CMS
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.
Graeme Gill.
_______________________________________________
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