GLYPHMETRICSFLOAT structure (wingdi.h)

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

Syntax

typedef struct _GLYPHMETRICSFLOAT {
  FLOAT      gmfBlackBoxX;
  FLOAT      gmfBlackBoxY;
  POINTFLOAT gmfptGlyphOrigin;
  FLOAT      gmfCellIncX;
  FLOAT      gmfCellIncY;
} GLYPHMETRICSFLOAT, *PGLYPHMETRICSFLOAT, *LPGLYPHMETRICSFLOAT;

Members

gmfBlackBoxX

Specifies the width of the smallest rectangle (the glyph's black box) that completely encloses the glyph.

gmfBlackBoxY

Specifies the height of the smallest rectangle (the glyph's black box) that completely encloses the glyph.

gmfptGlyphOrigin

Specifies the x and y coordinates of the upper-left corner of the smallest rectangle that completely encloses the glyph.

gmfCellIncX

Specifies the horizontal distance from the origin of the current character cell to the origin of the next character cell.

gmfCellIncY

Specifies the vertical distance from the origin of the current character cell to the origin of the next character cell.

Remarks

The values of GLYPHMETRICSFLOAT are specified as notional units.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header wingdi.h

See also

OpenGL on Windows

POINTFLOAT

Structures

wglUseFontOutlines