Draw in a GdkPixbuf

2008-05-28 Thread Luis Menina
Hi list! I'm trying to find a way to draw in a GdkPixbuf (for example draw a rectangle on the pixbuf) and save the result to a file afterwards. I found in devhelp the gdk_draw_* functions, but to use them I need a GdkPixmap. gdk_pixmap_new requires a GdkDrawable. The problem is that

Re: Draw in a GdkPixbuf

2008-05-28 Thread James Scott Jr
ne graph widget written twice, once in gdk and again in cairo. http://sourceforge.net/project/showfiles.php?group_id=157888&package_id=191712 James, On Thu, 2008-05-29 at 03:18 +0200, Luis Menina wrote: > Hi list! > > I'm trying to find a way to draw in a GdkPixbuf (for example

Re: Draw in a GdkPixbuf

2008-05-29 Thread Luis Menina
e is a link to glinegraph, a simple line graph widget > written twice, once in gdk and again in cairo. > > http://sourceforge.net/project/showfiles.php?group_id=157888&package_id=191712 > > James, > > > > > On Thu, 2008-05-29 at 03:18 +0200, Luis Menina wrote

Re: Draw in a GdkPixbuf

2008-05-29 Thread James Scott Jr
, On Thu, 2008-05-29 at 03:18 +0200, Luis Menina wrote: > Hi list! > > I'm trying to find a way to draw in a GdkPixbuf (for example draw a > rectangle on the pixbuf) and save the result to a file afterwards. > > I found in devhelp the gdk_draw_* functions, but to use the

Re: Draw in a GdkPixbuf

2008-05-30 Thread Luis Menina
a > pdf as the backend in cairo from the command line -- without the use of > gtk. > > Hope this fits your need better than my last response. > > James, > > > On Thu, 2008-05-29 at 03:18 +0200, Luis Menina wrote: >> Hi list! >> >> I'm trying to fi