On Thu 17 Jan 2002 13:38, Havoc Pennington wrote: > Edscott Wilson García <[EMAIL PROTECTED]> writes: > > After looking at a book by Barkakati, (X Window System Programming, 1991) > > he says that bitmaps should be copied into pixmaps by XCopyPlane(), not > > XCopyArea() (the latter being used by gdk_draw_pixmap()). > > That's right, but I thought you were copying between two bitmaps. > CopyArea() should work OK for that AFAIK.
But isn't a bitmap nothing more than a pixmap of depth 1? If gdk_pixmap_new(window,pix_w,pix_h,1); is not the correct way to create an empty bitmap with gtk, how should it be created? edscott > > The bad match is caused by copying between two pixmaps with a > different bit depth. > > Havoc _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list