<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: What&#8217;s the resolution of your screen?</title>
	<atom:link href="http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen/feed" rel="self" type="application/rss+xml" />
	<link>http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen</link>
	<description>The personal weblog of Peter Hosey.</description>
	<pubDate>Wed, 08 Oct 2008 07:00:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Cristian Draghici</title>
		<link>http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen#comment-119217</link>
		<dc:creator>Cristian Draghici</dc:creator>
		<pubDate>Tue, 04 Sep 2007 06:14:01 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen#comment-119217</guid>
		<description>In fact both CGDisplayScreenSize and kCGDisplayWidth from the dictionary created by IOCreateDisplayInfoDictionary are a bit off.
In the sense that both return the physical size of the display but not the _lit_ size of the display.

On my MacBook, they return 290 mm while the lit part of the display is in fact more like 285 mm.
This means computing DPI/PPI will always be a bit off if you use CGDisplayScreenSize.</description>
		<content:encoded><![CDATA[<p>In fact both CGDisplayScreenSize and kCGDisplayWidth from the dictionary created by IOCreateDisplayInfoDictionary are a bit off.<br />
In the sense that both return the physical size of the display but not the _lit_ size of the display.</p>
<p>On my MacBook, they return 290 mm while the lit part of the display is in fact more like 285 mm.<br />
This means computing DPI/PPI will always be a bit off if you use CGDisplayScreenSize.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ssp</title>
		<link>http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen#comment-16105</link>
		<dc:creator>ssp</dc:creator>
		<pubDate>Wed, 28 Mar 2007 18:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen#comment-16105</guid>
		<description>Interesting... Let's hope Apple manage to get this right at some stage.

(I still remember being annoyed by Safari's change to a huge default font size when what they should have done was make the display respect the screen's resolution.)</description>
		<content:encoded><![CDATA[<p>Interesting... Let's hope Apple manage to get this right at some stage.</p>
<p>(I still remember being annoyed by Safari's change to a huge default font size when what they should have done was make the display respect the screen's resolution.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Hosey</title>
		<link>http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen#comment-14392</link>
		<dc:creator>Peter Hosey</dc:creator>
		<pubDate>Fri, 23 Mar 2007 00:51:37 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen#comment-14392</guid>
		<description>An IOServicePort goes to I/O Kit. You'll need to make a connection to the port using that API. Beyond that, I don't know.</description>
		<content:encoded><![CDATA[<p>An IOServicePort goes to I/O Kit. You'll need to make a connection to the port using that API. Beyond that, I don't know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Epalzeo</title>
		<link>http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen#comment-14379</link>
		<dc:creator>Epalzeo</dc:creator>
		<pubDate>Thu, 22 Mar 2007 22:47:42 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen#comment-14379</guid>
		<description>Funny, i want to do the same thing :)

I used the CGDisplayIOServicePort and get an handle io_service_t but i dont know how to deal with it.

Have you found how ?

Thanks,
Epalzeo</description>
		<content:encoded><![CDATA[<p>Funny, i want to do the same thing :)</p>
<p>I used the CGDisplayIOServicePort and get an handle io_service_t but i dont know how to deal with it.</p>
<p>Have you found how ?</p>
<p>Thanks,<br />
Epalzeo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Hosey</title>
		<link>http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen#comment-7251</link>
		<dc:creator>Peter Hosey</dc:creator>
		<pubDate>Sun, 04 Feb 2007 18:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen#comment-7251</guid>
		<description>Not in Quartz. I'd guess that you can use I/O Kit to do it, but I haven't looked hard enough to find it in the rather obtuse HeaderDoc “documentation” of I/O Kit.

Starter tip: Quartz Display Services does let you get the I/O Kit service port for a display. Use &lt;a href="http://developer.apple.com/documentation/GraphicsImaging/Reference/Quartz_Services_Ref/Reference/reference.html#//apple_ref/c/func/CGDisplayIOServicePort" rel="nofollow"&gt;CGDisplayIOServicePort&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Not in Quartz. I'd guess that you can use I/O Kit to do it, but I haven't looked hard enough to find it in the rather obtuse HeaderDoc “documentation” of I/O Kit.</p>
<p>Starter tip: Quartz Display Services does let you get the I/O Kit service port for a display. Use <a href="http://developer.apple.com/documentation/GraphicsImaging/Reference/Quartz_Services_Ref/Reference/reference.html#//apple_ref/c/func/CGDisplayIOServicePort" rel="nofollow">CGDisplayIOServicePort</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Farhan</title>
		<link>http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen#comment-7250</link>
		<dc:creator>Farhan</dc:creator>
		<pubDate>Sun, 04 Feb 2007 18:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-02-04/whats-the-resolution-of-your-screen#comment-7250</guid>
		<description>Awesome find. I do have one question though. Is there a way to CG API (or any other API) that will let you turn of the display immediately? Like the Energy Saver setting that turn off the display after a certain time, but instead of fiddling with the ES setting every time, the display can be turned off immediately.

Thanks,
Farhan</description>
		<content:encoded><![CDATA[<p>Awesome find. I do have one question though. Is there a way to CG API (or any other API) that will let you turn of the display immediately? Like the Energy Saver setting that turn off the display after a certain time, but instead of fiddling with the ES setting every time, the display can be turned off immediately.</p>
<p>Thanks,<br />
Farhan</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.188 seconds -->
