Re: gdk_draw_line inverse video



Dominique Nerriere wrote:

Is there any way I can draw a line in inverse video on a drawing
area/pixmap. Maybe there is another function (other than gdk_draw_line
which draws only with a specific color) to do that?


Use
        gdk_gc_set_function(gc, GDK_XOR);

to set up your drawing gc for inverse video.





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