trying to render a png with alpha channel to a gdk drawable (obtained from the window attribute of a gtk.DrawingArea I always get the following errors (when using pixbuf's render_to_drawable and render_to_drawable_alpha):
** (butterfly:3218): CRITICAL **: file pixops.c: line 1625
(pixops_scale): assertion `!(src_has_alpha && !dest_has_alpha)' failed
what's the right way to paint an alpha-channel pixbuf?
second question: trying to solve the problem described above i
discovered that gdk drawable are missing the draw_pixbuf method. am i
right or i just misunderstood something?
thank you very much,
federico
--
Federico Di Gregorio
Debian GNU/Linux Developer [EMAIL PROTECTED]
INIT.D Developer [EMAIL PROTECTED]
We are all dust, Saqi, so play the lute
We are all wind, Saqi, so bring wine. -- Omar Khayam
signature.asc
Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
