i've googled a bit and tested some cairo code...since this are vector-graphics and the graphics are antialiased (graphics are diffused) i don't want to use them.
there are some drawing routines like here http://www.gtk.org/tutorial1.2/gtk_tut-23.html
these are using a offscreen-pixmap, so i want to use this, if thís is supported in further future (tutorial is for gtk+1.2).
my application schould export to bitmap/pixmap and print.
later i want to draw animations, so i want to use an offscreen-bitmap for reducing flicker
i'm currently experimenting with the normal drawing routines and have some problems with the colors...
pixmap = gdk_pixmap_new(widget->window,
gdk_color_parse ("blue", &color);
as the documentation says http://developer.gnome.org/gdk/stable/g ... foreground
, i have to use gdk_gc_set_rgb_fg_color()
can i use the "old functions" or should i use cairo, but how to make clear images on a offscreen-bitmap