DrawTextBitmapProc


BOOL CALLBACK DrawTextBitmapProc(LPPDEVICE  lpDestDev,
    LPSTR lpMonoBuffer, WORD Flags, DWORD BgColor, DWORD FgColor,
    WORD x, WORD y, WORD WidthBytes, WORD Height, DWORD lpClipRect);

A minidriver-defined callback function specified in the lpDrawTextBitmap parameter to DIB_ExtTextOutExt. The DIB engine calls this function to draw the text string.

lpDestDev

Address of a PDEVICE or PBITMAP structure specifying the destination device or bitmap.

lpMonoBuffer

Address of a buffer containing a monochrome bitmap of the text string to be drawn.

Flags

Specifies the background mode. This parameter can be either of the following modes:

Value

Description

OPAQUE

Background is filled with the current background color before the text, hatched brush, or pen is drawn.

TRANSPARENT

Background remains untouched.


BgColor

Background color to use for opaquing.

FgColor

Foreground color to use for the text output.

x

Left origin of string bitmap.

y

Top origin of string bitmap.

WidthBytes

Width of string bitmap in bytes.

Height

Height of string bitmap in bytes.

lpClipRect

Clipping rectangle.

See also DIB_ExtTextOutExt