Drawing Bit Maps

An application can draw bit-map images on a raster printer or display screen, or into metafiles associated with a raster device. Any GPI drawing requests (including those that produce graphics text), issued to a presentation space associated with a memory DC containing a selected bit map, cause the bit map to receive raster images of your drawings. The following table describes the bit map drawing functions:

┌────────────────────┬────────────────────┬────────────────────┐
│Function            │Input               │Output              │
├────────────────────┼────────────────────┼────────────────────┤
│WinDrawBitmap       │The handle of a bit │A bit-map image on a│
│                    │map.                │raster display.     │
├────────────────────┼────────────────────┼────────────────────┤
│GpiImage            │A buffer containing │A special monochrome│
│                    │bit map image data. │bit-map image on a  │
│                    │                    │raster display or   │
│                    │                    │printer.            │
├────────────────────┼────────────────────┼────────────────────┤
│GpiDrawBits         │A buffer containing │A bit-map image on a│
│                    │bit map image data. │raster display or   │
│                    │                    │printer.            │
├────────────────────┼────────────────────┼────────────────────┤
│GpiBitBlt           │The handle of a     │A bit-map image on a│
│                    │presentation space  │raster display or   │
│                    │containing a bit    │printer, or a       │
│                    │map.                │bit-map image into a│
│                    │                    │metafile (albeit in │
│                    │                    │an escape order).   │
├────────────────────┼────────────────────┼────────────────────┤
│GpiWCBitBlt         │The handle of a bit │A bit-map image on a│
│                    │map.                │raster display or   │
│                    │                    │printer, or a       │
│                    │                    │bit-map image into a│
│                    │                    │metafile.           │
└────────────────────┴────────────────────┴────────────────────┘


[Back: Standard Bit-Map Formats]
[Next: WinDrawBitmap]