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

Home » Public Forums » archive » Re: draw lines with XOR operation to background
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: draw lines with XOR operation to background [message #6773] Wed, 14 August 1996 00:00 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
hammerl@ibm01s.RZ.Uni-Augsburg.DE (Claus Hammerl) writes:

> Hello there,

> I want to draw a line into an image and remove this line later.
> I think the
> best way to do so is to draw the line with an XOR exclusive or operation
> on the background . another xor operation would then restore the
> original image. Does anybody know id IDL can do such XOR operation?

Look at the source code for the routine box_cursor. The command

device, get_graphics = old, set_graphics = 6

enables XOR operation, and

device, set_graphics = old

returns to the previous state.

Bill Thompson
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Getting too many resize events
Next Topic: draw lines with XOR operation to background

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

Current Time: Fri Oct 10 14:04:52 PDT 2025

Total time taken to generate the page: 0.88150 seconds