GLYPHBITS

typedef struct _GLYPHBITS {

    POINTL ptlOrigin;

    SIZEL  sizlBitmap;

    BYTE   aj[1];

} GLYPHBITS;

The GLYPHBITS structure is used to define a glyph bitmap.

Members

ptlOrgin

A POINTL structure that defines the origin of the character in the bitmap.

sizlBitmap

Specifies the size, in bytes, of the bitmap.

aj

A variable-sized byte array containing a BYTE-aligned bitmap of the glyph. The array must include padding at the end to DWORD-align the entire structure.

The form of the bitmap requested is defined by pfo>flFontType and FO_16_LEVEL. If this is zero, then GDI is requesting a monchrome bitmap; otherwise GDI requests 16-level antialiased glyphs.

GDI will make this request of drivers that have antialiased fonts (see the description of DrvQueryFontCaps). It is possible that a driver may not be able to render a font in a multilevel format. In this case, the driver fails the call and GDI will call the driver again requesting a monochrome realization.

See Also

DrvGetGlyphMode, DrvQueryFontData, FONTOBJ_cGetGlyphs, GLYPHDEF