[9141] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Transparent pixmaps...

daemon@ATHENA.MIT.EDU (Stephan Krings)
Fri Oct 9 20:30:17 1998

Date: Sat, 10 Oct 1998 02:30:44 +0200 (CEST)
From: Stephan Krings <slothkri@zedat.fu-berlin.de>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com


Hello out there,

I'm just starting to use Gtk/Gdk, so please be patient...

What I'd like to know is how do I create a transparent offscreen
pixmap. Loading pixmaps from files or data with transparency works
fine, but I'd like to create an offscreen pixmap (using
gdk_pixmap_new), draw into it (works fine to), and later overlay it
upon another pixmap (possibly using gdk_draw_pixmap). This doesn't
work for me, unfortunatly. The underlying pixmap is totally obscured
by the pixmap I'd like to put upon it.

I also tried using a clip mask with little success.

So any hints, or even better some code snipsets for me?

Best regards and thanks in advance,

Stephan

-- 
Stephan Krings                                       Freie Universitaet Berlin
AG Kommunikationsserver      Zentraleinrichtung fuer Datenverarbeitung (ZEDAT)
slothkri@zedat.fu-berlin.de                                      Fabeckstr. 32
Tel: +49 30 838 3239                   				  14195 Berlin

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post