ould create a GdkBitmap from a GdkPixbuf according to your black
and white PNG.
Feel free to test and fix it.
/*
* Author: Yann Droneaud
*
*/
GdkBitmap *
my_gdk_bitmap_new_from_pixbuf_non_alpha(GdkDrawable *drawable,
GdkPixbuf *pixbuf)
{
int width;
int
Le mercredi 23 juillet 2008 à 17:42 +0200, Yann Droneaud a écrit :
> Fixed program is test-gdkpixbuf-cairo.c
>
Error: Missing cairo_t *cr declaration.
Here is the definitive source code.
Sorry.
--
Yann Droneaud <[EMAIL PROTECTED]>
___
Le mercredi 23 juillet 2008 à 10:38 +0200, Yann Droneaud a écrit :
> Hi,
>
> I'm trying to write a program to display a picture with full
> transparency in its own window (without border), using Composite
> extension (ARGB colormap and visual).
>
Using Cairo correct
omputer, the application will benefit from
the filesystem cache).
Regards
--
Yann Droneaud <[EMAIL PROTECTED]>
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
omposited with the window background.
Could someone provide me a link, a tips, or something to help me.
Thanks.
[1] http://macslow.thepimp.net/?page_id=23
[2] http://mail.gnome.org/archives/gtk-list/2006-October/msg00246.html
--
Yann Droneaud <[EMAIL PROTECTED]>
__