comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » the "real" screen size
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
the "real" screen size [message #73042] Sun, 24 October 2010 15:02 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I often like to view images as big as possible on my monitor. So
I get the screen size using device,get_screen_size=winsize, and open a
window of this size using WINDOW, XSIZE=, YSIZE=. I then CONGRID()
my (bigger) image down to this size and display it with TV.

After all these years, I now realize that this method results in
significant truncation of the image on my Linux (Redhat) box (and
smaller truncation on my Mac). Device,get_screen_size reports a
screen size of 1600 x 1200 on my LInux box, but when I open a 1200 x
1200 window, I am actually only viewing the first 1115 pixels of the
image in the Y direction, so I am missing more than 7% of the image,
presumably due to pixels taken up by the window and taskbar margins

There was a thread a while back ( http://tinyurl.com/2bssnfe ) on
using the exclude_Taskbar keyword in the IDLsysMonitorInfo object to
get the "free" screen size. But this method seem more relevant to
determining the available size for a widget GUI, and in any case, the
exclude_Taskbar keyword is only available for Windows OS.

I can always introduce a fudge factor (i.e. subtract 85 pixels from
the reported screen size) but does anyone know any IDL or X-window
settings that might help?

Thanks, --Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: POLY_2D and anti-aliasing
Next Topic: Re: Z-Graphics Buffer Resolution

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 07:20:44 PDT 2025

Total time taken to generate the page: 1.11810 seconds