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

Home » Public Forums » archive » Re: Getting info on the whole screen in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Getting info on the whole screen in IDL [message #3592 is a reply to message #3582] Fri, 17 February 1995 09:36 Go to previous message
landsman is currently offline  landsman
Messages: 93
Registered: August 1991
Member
In article <3i2euu$knu@adam.cc.sunysb.edu>, Chris Jacobsen
<jacobsen@xray1.physics.sunysb.edu> writes...

> The IDL parameters !D.X_SIZE and so forth tell you information
> about the active display window (at least as far as I can tell).
>
> I wanted to be able to find about the whole screen so as to
> decide how big to make windows and fonts and so on.
>
> I have written a routine
> IDL> xpixels,xpix,ypix,xmm,ymm
> IDL> print,xpix,ypix,xmm,ymm
> 1024 768 283.000 212.000

The GET_SCREEN_SIZE keyword to the DEVICE command under X windows will give
you the size of the entire screen in pixels. I think you still have to link
to the C program to get the size in mm.

--Wayne Landsman landsman@stars.gsfc.nasa.gov
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL Windows,Buttons etc on Mac
Next Topic: Re: STRTRIM needs improvement

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

Current Time: Wed Oct 15 13:59:57 PDT 2025

Total time taken to generate the page: 0.00187 seconds