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 11:01:50 -0500
Edscott Wilson García <edscott imp mx> writes:
> I've been trying to copy a bitmap into a bitmap with gdk_draw_pixmap(),
> without success. Is it necesary to use XCopyPlane in lieu of some
> gdk routine?
When you say "without success," what happens? It should work fine.
> Basically all I want to do is a binary OR between the data in the 2 bitmaps.
>
That isn't what gdk_draw_pixmap() normally does, it just copies the
bits and overwrites the ones in dest. Look at gdk_gc_set_function(),
I'm not sure it affects drawing a pixmap but I think it might.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]