![]() |
WinBitmapPut | Function (ROM Call 0x7) |
wingraph.h |
void WinBitmapPut (WINDOW *w, short x, short y, void *BitMap, short Attr); |
Puts a bitmap to a window.
WinBitmapPut puts a bitmap BitMap (which was taken using WinBitmapGet)
to the window pointed to by w at the position (x, y), using the attribute Attr.
The coordinates are relative to the topleft corner of the window pointed to by w.
The drawn bitmap will be clipped at the boundaries of the clipping area of the window.
The following attributes are supported:
A_REPLACE | Replace the destination region with the source bitmap |
A_REVERSE | Replace the destination region with the inverse of the source bitmap |
A_XOR | Exculsive-OR the source bitmap into the destination region |
A_OR | OR the source bitmap into the destination region |
A_AND | AND the source bitmap into the destination region |
A_SHADED | Mask the source bitmap so that every other pixel is turned off and replace the destination region with that result (the source region is left unchanged) |