The three remaining bit-map drawing functions operate in very similar ways. GpiDrawBits copies a bit-map image from application memory to a device or a device context. GpiBitBlt directs bit maps to devices other than the screen. GpiWCBitBlt enables you to retain the bit-map data in the segment store of the target presentation space.

The similarities are discussed first. Their differences are discussed in the sections that follow.

An application should use GpiDrawBits, GpiBitBlt, or GpiWCBitBlt to draw bit maps that use a color table or RGB2 structures color formats of 1, 4, 8, or 24 bits per pel.

An application can draw inverted bit maps for any of these three functions by calling the function and passing ROP_NOTSRCCOPY as the raster operation.


[Back] [Next]