Re: [gtk-list] Colors




On Mon, 10 May 1999, Martin Donlon wrote:
>     I really am at a loss with this, the GTK tutorial only brushes the
> surface:/ I want to be able to draw an XOR'd primitive on a pixmap but I
> do't know how to create a Color Context (?) can anyone help please?
> 

You don't need a color context, just set your foreground color to white
and call gdk_gc_set_function() to set the draw function to GDK_XOR.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]