From: Stalkern 2 Reply-To: stalkern2 at tin.it To: lablgtk at kaba.or.jp Subject: Re: animation: pixmap transparency? Date: Mon, 7 Jul 2003 19:41:13 +0200 References: <200307021756.22997.stalkern2 at tin.it> <200307021824.19044.stalkern2 at tin.it> In-Reply-To: <200307021824.19044.stalkern2 at tin.it> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307071941.13532.stalkern2 at tin.it> Il Wednesday 02 July 2003 18:24, Stalkern 2 ha scritto: > Il Wednesday 02 July 2003 17:56, Stalkern 2 ha scritto: > > I have a(nother) beginner question. I've found many animations done with > > expose events on drawing areas. Now, I'd like to have a fly fly over the > > screen. Since a realistic fly is complicated to draw with a function, I > > have made a pixmap for it. What is the name of the function pasting a > > pixmap onto a drawing area? > > Thank you for any hint > > > > Ernesto > > OK sorry, I've found something of this kind at > http://dept-info.labri.u-bordeaux.fr/~vanicat/Enseignement/MMI-MPA/lablgtk- >doc/Gdk.Draw.html > > I think that I should turn away from the out-of-date CDK doc. Sorry! > > Ernesto Hi, I'm using put_pixmap but I can't obtain that transparency is respected when moving XPMs over each other. I have a Drawing Area, plus a background pixmap, plus a foreground pixmap. I put the foreground pixmap on the drawing area: I can't see any better result if I put the foreground pixmap on the background pixmap. Do I have to set any alpha something? What am I missing? Thanks for any help. Ernesto