Hi,
I need to do an animation. I have a monochrome image in memory that I want to move around the screen. I would like this image to be 1 bpp to save memory.
The idea is to paint the image on the screen on some location. Then paint it again, but in black, to erase it, and then paint it on a different location, and so on.
I create an in-memory context of 1 bpp, and draw there the image. What I need now is a function to put this context (or a subset of it) into the screen, but at the same time applying a foreground and a background colors.
Is like painting text, in some way. The font itself is monochrome, and the colors and logical ops are applied in the process of painting.
The functionality is there. Does anybody know how to use it to paint my bitmaps?
Thanks Josu Onandia