This topic has not yet been rated - Rate this topic

GLYPHBITS structure

The GLYPHBITS structure is used to define a glyph bitmap.

Syntax


typedef struct _GLYPHBITS {
  POINTL ptlOrigin;
  SIZEL  sizlBitmap;
  BYTE   aj[1];
} GLYPHBITS;

Members

ptlOrigin

Specifies a POINTL structure that defines the origin of the character in the bitmap.

sizlBitmap

Specifies a SIZEL structure that contains the width and height, in pixels, of the bitmap. A SIZEL structure is identical to a SIZE structure.

aj

Is 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.

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.

Requirements

Header

Winddi.h (include Winddi.h)

See also

DrvGetGlyphMode
DrvQueryFontData
FONTOBJ_cGetGlyphs
GLYPHDEF

 

 

Send comments about this topic to Microsoft

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.