Re: Copying bitmaps into bitmaps



Edscott Wilson García <edscott imp mx> 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.

The bad match is caused by copying between two pixmaps with a
different bit depth.
 
Havoc



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