Re: [gtk-list] Pixmaps





On Sun, 28 Mar 1999, Christophe BOURGEOIS wrote:

>     I'd like to know how I can draw a point on a pixmap in another color
> than white or black. I've tried with gtk_draw_point (...), but it doesn't
> seems to work...

gdk_draw_point() is the correct function to use. You'll need to allocate
the correct color you want to use into a GdkGC and pass that argument to
gdk_draw_point().




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