Re: GdkBitmap structure - 3 questions
- From: Sven Neumann <sven gimp org>
- To: "Germano Rizzo" <manomano ciaoweb it>
- Cc: <gtk-list gnome org>
- Subject: Re: GdkBitmap structure - 3 questions
- Date: 12 Mar 2001 13:20:21 +0100
Hi,
"Germano Rizzo" <manomano ciaoweb it> writes:
> In my program I use gdk-pixbuf; actually I'm using some bitmaps, loaded
> from the alpha channel of some PNG files. Now, I'd have to do three things:
> - have the possibility to 'negative-image' them; now I'm using two different
> files for a bitmap and its negative... I guess there should be a way!!
> - have the possibility to merge two of them (e.g copying one into another
> one, then 'painting' the white areas of another into it)
You can compose the bitmaps using gdk_draw_pixmap(). By setting the GC
you can choose between different modes like GDK_INVERT, GDK_OR, GDK_AND,
...
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]