Hello,
I sent this to gtk-app-devel-list but later realized I
should probably have sent it here. My apologies to anyone
who had to read it twice.
I'm developing an application using GtkPerl in which I
load a pixmap into the DrawingArea widget, and then use the
pointer to draw a polyline on top of it. But it is important that
I be able to erase, if desired, segments of the polyline. I
know from past (non-gtk) experience that a simple way to do this
is to do the drawing via a boolean exlusive-or of the pixel
values. Then to erase the line, all you have to do is re-draw it.
Can any one please tell me if there is a way to change
the line-drawing mode for the DrawingArea widget so that
it uses such an exclusive-or operation? Or is there another
way to erase polyline segments? Note that I want to avoid
having to re-draw the pixmap everytime an erase operation
occurs, as this would be too time-consuming.
Thanks.
--
--------------------------------------------------------------------
Phil R Cummins [EMAIL PROTECTED]
Frontier Research for Subduction Dynamics tel(i/d):81/0-468-67-3393
JAMSTEC, 2-15 Natsushima-cho fax(i/d):81/0-468-67-3409
Yokosuka 237-0061, Japan
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list