Re: [gtk-list] Re: screen resolution?



> 
> gdk_screen_width() and gdk_screen_height() return the dimensions.
> 

   A pity these are not part of the API, I get a link error when trying
   to use it on my application :( [might come in handy]

> 
> (GTK doesn't currently make any use of screen resolution. There
>  is a confusing thing where dimensions for the rulers are specified
>  in terms of 1/72 in. "pixels", but that has nothing to do with
>  the size of pixels on the screen)

   1/72th of an inch is a unit known as "points", same 'points' used
   in the printing world, same goes for PostScript stuff.

   		Emilio



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]