Re: Resolution Independent View?
Re: Resolution Independent View?
- Subject: Re: Resolution Independent View?
- From: Michael Ash <email@hidden>
- Date: Tue, 12 May 2009 14:18:09 -0400
On Tue, May 12, 2009 at 10:29 AM, Uli Kusterer
<email@hidden> wrote:
> 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.
Even if they were complaint (which I doubt) you'll still fail in
situations like using a projector, running over VNC, etc. It would be
nice if there were some easy way to do this, but it's not likely....
Mike
_______________________________________________
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