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

Home » Public Forums » archive » Re: ERASING a line
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: ERASING a line [message #7152] Thu, 10 October 1996 00:00 Go to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
Andilu wrote:

> On Tue, 8 Oct 1996, Mario Noyon wrote:
>
>> I would like to draw a vertical line on a drawing widget and erase it
>> afterwards. Just like idl does it with the BOX_CURSOR.
>> I watched this routine to see how they did, but my pocedure refuses to
>> redraw the line erased.

You might try using the XOR drawing mode to allow you to draw and
then erase in a draw widget. Sometimes the results are acceptable,
sometimes not. I have a routine called WINDOW_XOR_LINE.PRO that
pops up a slider widget, and lets you adjust either a vertical or
horizontal line in a draw widget, and returns the X/Y position.
Don't know if this is what you need, but it would at least
illustrate the method. Let me know by email if you'd like a
copy.

Dave

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2200
La Jolla, CA 92037
[ UCSD Mail Code 0949 ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Filters
Next Topic: SPEED UP

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

Current Time: Wed Oct 08 18:36:29 PDT 2025

Total time taken to generate the page: 0.00430 seconds