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

Home » Public Forums » archive » Re: pictures without borders, full screen pictures
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: pictures without borders, full screen pictures [message #10845 is a reply to message #10831] Mon, 16 February 1998 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Sangeet Singh (singh@xraylith.wisc.edu) writes:

> I'm running IDL 4.x remotely on a Sun using an xterm emulator on my
> Win 95 machine. IDL and my xterm emulator both agree on my screen
> size (currently 800 x 600). Is it possible for me to use IDL to
> display a 800 x 600 image array so that it will fill up the entire
> screen, without showing any window borders etc.? When I use the
> WINDOW command, the window is off center and I have the title bar
> and window borders to contend with. Can I get rid of the bar and the
> borders for any size image?

You can get rid of the title bar, but you can't get rid of the borders.
A window is, after all, a window and there are rules about windows. One
of which is they have borders. The borders can be quite small. This code
on my Windows NT machine gives me a window that is actually 802 by 602.

Function BigWindow, wid
tlb = Widget_Base(TLB_Frame_Attr=4)
drawID = Widget_Draw(tlb, XSize=800, YSize=600)
Widget_Control, tlb, /Realize
Widget_Control, drawID, Get_Value=wid
WSet, wid
Widget_Control, tlb, TLB_GET_SIZE=thisSize
Print, 'Actual window size: ', thisSize
RETURN, tlb
END

widgetID = BigWindow(wid)
TVScl, Dist(800, 600)
Wait, 5
Widget_Control, widgetID, /Destroy
END

> In other words, if I want to be able to paint the (m,n)-th pixel on my
> display red, can I use IDL to do it?

No. :-)

Cheers,

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Pricing (was Re: LINUX version of IDL)
Next Topic: Re: IDL 5.0 (TvRd LoadCt) problems with true colors ???

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

Current Time: Tue Dec 02 03:40:40 PST 2025

Total time taken to generate the page: 2.55832 seconds