Re: [gtk-list] Re: Pixmap vs Bitmap



Paul Barton-Davis wrote:
> The depth of a bitmap is 2. The depth of a pixmap matches the display
> (or something like that; its normally > 2, anyway). Hence the BadMatch
> error from the X server. You have to use gdk_draw_bitmap() to draw a
> depth=2 bitmap.

 I thought that function exists, but I can't find it
in gdk reference. When I try it in my code:

 undefined reference to `gdk_draw_bitmap'

That's really odd, because gdk.h has the header for
this function, but the function doesn't exist.

--
Pedro Medeiros



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