Re: Drawing images ( with transparency ) one on another
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-list gnome org
- Subject: Re: Drawing images ( with transparency ) one on another
- Date: Mon, 19 Jun 2006 12:41:32 +0200
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]