Re: XForms: deleting a line

Steve Lamont (spl@szechuan.ucsd.edu)
Tue, 19 Aug 97 19:17:30 PDT

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> Is there a way to delete a line created by fl_line(...) or fl_lines(...)
> (or any drawable objects) inside a fl_add_free(...) object?

Not really.

I suppose you could draw a line over the line to be erased in the
background color. Of course, if the line intersected with other
lines, you'd have breaks in the line.

If you're doing something like rubber banding, you can use Xor
drawing.

Otherwise, you probably will have to just redraw the object. I find
that the redraws, even of relatively complicated free objects, is fast
enough.

I've even created pseudo-scrolled free objects which completely redraw
a page sized area full of text and Pixmap graphics that scroll fast
enough to keep up with a slider.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/