Re: [gtk-list] Re: Pixmap vs Bitmap
- From: Pedro Medeiros <pjira solar com br>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Pixmap vs Bitmap
- Date: Tue, 02 May 2000 15:23:55 +0000
Paul Barton-Davis wrote:
> sorry, my mistake. you can still use gdk_draw_pixmap, but the gc has
> to be setup with the correct depth.
The funny thing is that gc doesn't keep track of the depth of
a window. I called for gdk_gc_new (pixmap->mask) and the same
error ocurred. gdk_draw_pixmap works if the destination window
has a depth of 1, just like the bitmap.
Now I have another question: I have a window with a
transparency mask. If I call gdk_draw_pixmap with this
window as the source, will it draw the invisible part
of the window on the destination too?
--
Pedro Medeiros.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]