GLYPHMETRICSFLOAT

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

typedef struct _GLYPHMETRICSFLOAT { // gmf   
    FLOAT      gmfBlackBoxX; 
    FLOAT      gmfBlackBoxY; 
    POINTFLOAT gmfptGlyphOrigin; 
    FLOAT      gmfCellIncX; 
    FLOAT      gmfCellIncY; 
} GLYPHMETRICSFLOAT; 
 

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.

QuickInfo

  Windows NT: Use version 3.51 and later.
  Windows: Use Windows 95 and later.
  Windows CE: Unsupported.
  Header: Declared in wingdi.h.

See Also

OpenGL on Windows NT and Windows 95 Overview, Structures, POINTFLOAT, wglUseFontOutlines