Re: Copying bitmaps into bitmaps
- From: Havoc Pennington <hp redhat com>
- To: edscott imp mx
- Cc: <gtk-list gnome org>
- Subject: Re: Copying bitmaps into bitmaps
- Date: 17 Jan 2002 14:38:51 -0500
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]