Re: Drawing images ( with transparency ) one on another

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 19, 2006 at 11:35:09AM +0200, hm wrote:
> 
>   I`ve got a problem. I`ve got two separate images. One is background for  the secondone. Secondone is partially transparent. There is also table. Question is : how to draw in one of the table`s cells the backgraound, and on this background ( as a second layer ) second image (transparent) ?  I know ( of course ) how to create images, tables.

Either use gdk_draw_pixbuf() if the correct order (first
base, then the one with alpha channel) in expose event
handler, or use gdk_pixbuf_composite() and draw the final
image.

Yeti


--
Anonyms eat their boogers.
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux