RE: XOR'ed drawing ??




> I need to have a cross-hair on my drawable area, and, I guess, I have
> to draw the lines in a XOR'ed mode, so I get the picture that the cross
> is moving on back.

You need to use gdk_gc_set_function(gc, *symbol*), where
gc is a pointer to your GdkGC and *symbol* is either
GDK_COPY, GDK_INVERT, or GDK_XOR.

-Jon Trowbridge
 EMC Capital Management, Inc.



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