On 2010-07-11 4:19, Andrew wrote:
> Hi guys,
>
> In this example, a small gtk.gdk.Pixbuf is copied onto a larger pixbuf
> however where on the small pixbuf, there is transparency, this is
> converted to the gtk background colour.
>
> This means when the small pixbuf is copied 3 times and overlaid (as in
> the example), it looks incorrect. How do I make it so that the
> transparency in the small pixbuf is not replaced with the gtkbackground
> colour?

You need to use the 'composite' method rather than copy_area. I would 
provide example code, but the arguments are a bit complex and I'd be 
sure to get them wrong the first time and confuse you.

-- 
Tim Evans
Applied Research Associates NZ
http://www.aranz.com/
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to