To: stalkern2 at tin.it Cc: lablgtk at kaba.or.jp Subject: Re: animation: pixmap transparency? In-Reply-To: <200307071941.13532.stalkern2 at tin.it> References: <200307021756.22997.stalkern2 at tin.it> <200307021824.19044.stalkern2@tin.it> <200307071941.13532.stalkern2@tin.it> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20030708093841E.garrigue at kurims.kyoto-u.ac.jp> Date: Tue, 08 Jul 2003 09:38:41 +0900 From: Jacques Garrigue Lines: 17 > 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. Did you set a mask on your pixmap? Transparency is controlled by the mask. If there is no mask, there is no transparency. By the way, alpha-blending at the X11 level is not supported. Again, look at the GDraw module for useful functions, for instance creating a transparent pixmap from an xpm file. Jacques