GdkDrawable / GdkPixbuf / Transparence
- From: Daniel Campos <danielcampos netcourrier com>
- To: gtk-app-devel-list gnome org
- Subject: GdkDrawable / GdkPixbuf / Transparence
- Date: Mon, 31 May 2004 12:24:31 +0200
Due to the characteristics of the Gambas GTK+ component I'm writting,
(http://gambas.sf.net for those interested), I have to perform
conversions between GdkDrawable and GdkPixbuf (well, I really have
to render a pixbuf in a drawable and extract a pixbuf from drawable)
The drawable i use is a GdkPixmap.
I have problems with transparences, in this part of the code, I've
loaded a PNG icon in a pixbuf (called img) and I try to render it in
a pixmap (pic->image)
After rendering, transparecy (or alpha) is lost. Gtk+ reference docs
says something about GdkGC and 'clips', but I can not understand it,
even looking at the GTK+ examples...
May be any example to perform this?
Daniel Campos <danielcampos netcourrier com>
] [Thread Prev