Re: Copying bitmaps into bitmaps



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]