WinG API

The WinG API is a small set of functions for manipulating DIBs in the same way that device dependent bitmaps are manipulated in Windows.

WinGDCs and WinGBitmaps

WinGCreateDCCreate a new WinGDC

WinGCreateBitmap Create a new WinGBitmap

WinGGetDIBPointer Return the DIB pointer to a WinGBitmap

WinGRecommendDIBFormat Recommend an optimal DIB format for memory-to-screen blts

WinGGetDIBColorTable Return the DIB color table of a selected WinGBitmap

WinGSetDIBColorTable Set the DIB color table of a selected WinGBitmap

Blts

WinGBitBlt Copy a WinGDC to the screen DC

WinGStretchBlt Copy a WinGDC to the screen DC with stretching

Halftoning

WinGCreateHalftoneBrush Create a halftone brush

WinGCreateHalftonePalette Create a copy of the WinG halftone palette

WING_DITHER_TYPE Dither types for halftone brushes