GLYPHMETRICS

3.1

typedef struct tagGLYPHMETRICS {  /* gm */
    UINT  gmBlackBoxX;
    UINT  gmBlackBoxY;
    POINT gmptGlyphOrigin;
    int   gmCellIncX;
    int   gmCellIncY;
} GLYPHMETRICS;

The GLYPHMETRICS structure contains information about the placement and orientation of a glyph in a character cell.

Members

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.

Comments

Values in the GLYPHMETRICS structure are specified in logical units.

See Also

GetGlyphOutline