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

Home » Public Forums » archive » fore/background colors of labels
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
fore/background colors of labels [message #32830] Thu, 14 November 2002 09:28 Go to next message
lyubo is currently offline  lyubo
Messages: 34
Registered: March 2002
Member
How can I change the foreground and/or background
colors of a label widget?

Lyubo
Re: fore/background colors of labels [message #32883 is a reply to message #32830] Fri, 15 November 2002 15:44 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
lyubo (lzagorch@cs.wright.edu) writes:

> Why when I send my scene to the printer object everything that gets printed
> out looks much smaller than it should be. As I mentioned above I use object
> graphics, and I use the default UNITS (pixels) for my window. What do I
> need to do in order to print out my scene as it is on the screen?

I'd get one of those magic wands Harry Potter uses.
Magic is definitely the answer. :-)

Ben Tupper is fooling around with a widget-gidget
(I guess that's what you call it) that will help you
out here, if he ever gets it finished. But in the
meantime, magic is best.

You can see how I do it in FSC_SURFACE in the
FSC_Surface_Printing module. Here I am trying to
get the printed output to be as big as possible on
the page, and yet still preserve the aspect ratio
of the surface you see on the display. It's tricky,
I can tell you. (Probably the reason FSC_SURFACE
won the IDL Code Contest, although no one (including
RSI)seems to want to mention this today. ;-)

Anyway, that's a place to get started:

http://www.dfanning.com/programs/fsc_surface.zip

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: idl obj gaphics and opengl - how similar?
Next Topic: Structure Pass By Reference?

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

Current Time: Wed Oct 08 19:43:58 PDT 2025

Total time taken to generate the page: 0.00523 seconds