Beginners questions about drawing
- From: GnuShi <gnushi gmx net>
- To: gtk-list gnome org
- Subject: Beginners questions about drawing
- Date: Mon, 22 May 2006 22:26:17 +0200
Hi!
I just want to write a little application, where some pixeldata is
modified and later is saved in a file.
I could use
* some kind of Pixmap, render the pixmap to a GtkDrawingArea or
* use gdk-pixbuf, render the pixbuf to a GtkDrawingArea.
Does one of them have any advantages?
I would like to use some drawing primitives, of the form
put_pixel (PaintDevice, x, y, color)
where do I find them? "gdk_draw_*" looks very complicated and not usable
with gdk-pixbuf. Or do I have to convert between drawables and pixbuf
all the time?
It looks as if drawing with GTK+ is not that easy.
(I'm not a beginner with GTK+, but with gtk-drawing)
Gnushi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]