typedef struct _GLYPHMETRICS { /* glmt */
UINT gmBlackBoxX;
UINT gmBlackBoxY;
POINT gmptGlyphOrigin;
short gmCellIncX;
short gmCellIncY;
} GLYPHMETRICS;
The GLYPHMETRICS structure contains information about the placement and orientation of a glyph in a character cell.
gmBlackBoxX
Specifies the width of the smallest rectangle that completely encloses the glyph (its “black box”).
gmBlackBoxY
Specifies the height of the smallest rectangle that completely encloses the glyph (its “black box”).
gmptGlyphOrigin
Specifies the x- and y-coordinates of the upper-left corner of the smallest rectangle that completely encloses the glyph.
gmCellIncX
Specifies the horizontal distance from the origin of the current character cell to the origin of the next character cell.
gmCellIncY
Specifies the vertical distance from the origin of the current character cell to the origin of the next character cell.
Values in the GLYPHMETRICS structure are specified in logical units.