Re: [gtk-list] XOR line
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] XOR line
- Date: Mon, 14 Dec 1998 10:21:40 -0600 (CST)
On Mon, 14 Dec 1998, Gustavo Carneiro wrote:
> Can anyone please tell me how to do a XORed line with gdk or,
> alternatively, the strategy to implementing a 'rubber-band'?
Create a GC and call gdk_gc_set_function(gc, GDK_XOR); set your color to
the color you want to xor with (probably white is what you want). Then
just draw with that GC.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]