Re: [gtk-list] Re: rubber banding lines - xorput?
- From: Paul Barton-Davis <pbd op net>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: rubber banding lines - xorput?
- Date: Sun, 21 Nov 1999 16:02:19 -0500
>> Hi, John. Perhaps you could use gdk_draw_line, with the GdkFunction set
>> to GDK_XOR in the GdkGC. See:
>>
>
>Owen posted maybe a few months ago before explaining why this is often not
>the best approach, but I don't remember enough of what he said to
>paraphrase. Maybe someone can find it in the archives...
i'm making a guess that you might be thinking of owen's reply to one
of my many questions at that time regarding XOR. his main point was,
to paraphrase a recent reply of his: its a 1988 solution. Apparently,
the 1999/2000 solution is GnomeCanvas.
as i've said many times - i'd happily use the GnomeCanvas if it was
part of GTK+. in the meantime, if you really, really want do
rubber-banding, setting the GdkFunction to GDK_XOR works just great,
and is significantly faster than doing the same thing with the
Canvas. OTOH, "significantly faster" has to be measured on my system
(PII-450/Matrox AGP/XFree86-3.3.2) because you almost can't see it :)
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]