Re: How to create transparent GdkPixmaps?



hello

******************************************************************************
M. Akila,
Central Research Laboratory,
Bharat Electronics,
Jalahalli,
Bangalore.

Ph.No (off): 91-080-8381125
E-Mail Id  : akila crlbel ernet in
                
                                 HAVE A NICE DAY
******************************************************************************

On 27 Aug 2002, Hongli Lai wrote:

How do I create a transparent GdkPixmap? When I use gdk_pixmap_new(), I
get a black pixmap, a pixmap containing random data or a pixmap that
contains part of another pixmap.
I already tried using XRenderCreatePicture, but a gdk_pixmap_lookup() on
the returned Picture variable fails and returns NULL, and
gdk_pixmap_foreign_new() makes the app crash (invalid pixmap or bad
match or something).
Is it possible to create a transparent pixmap? I'm trying to create a
transparent PNG file with antialiased text.


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





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