screen resolution?
- From: Alexander Larsson <alla lysator liu se>
- To: gtk-list redhat com
- Subject: screen resolution?
- Date: Sat, 23 May 1998 16:19:38 +0300
Is there any way in gtk/gdk to get at the real resolution (in dots per inch) 
of the screen?
xdpyinfo says:
screen #0:
 dimensions:    1152x864 pixels (390x293 millimeters)
 resolution:    75x75 dots per inch
I don't know how accurate this is, but at least there are some data about this 
in the x-server. Better use them than guessing at 72 dpi.
/ Alex
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]