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

Home » Public Forums » archive » Re: Object Rubberband Selection Box
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: Object Rubberband Selection Box [message #19788 is a reply to message #19782] Wed, 26 April 2000 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Bill B. (wrb1000@my-deja.com) writes:

> By coincidence, I was just dealing with a problem with the rubberband
> code (courtesy of Dave Fanning) and thought I might ask the group a
> question. I recently received a PC upgrade at work with a fancy new
> Diamond Stealth III S540 AGP video card w/ 32 Mb. Upon trying my IDL
> application for the first time, to my horror, I managed to totally hang
> the entire machine upon invoking the rubberband box. Other wierdness
> was that the size of the box being drawn also affected how quickly it
> would hang. After much trial and error, I isolated the problem to one
> specific line:
>
> DEVICE, SET_GRAPHICS_FUNCTION = 10
>
> followed by the PLOTS command to draw the r-b box.

Uh, just to clarify, you will NOT find any SET_GRAPHICS_FUNCTON
calls in any code I provide. :-)

I really don't care for that technique because I don't think
it looks "professional" on many computers. I always use
a DEVICE, COPY technique for drawing on graphics plots
that use direct graphics.

Just didn't want my reputation besmirched more than it has
been lately. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: linking programs/ procedures
Next Topic: Re: Polygons and polylines

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

Current Time: Thu Oct 09 22:39:43 PDT 2025

Total time taken to generate the page: 0.28562 seconds