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.

Requirements

**  Windows NT/2000:** Requires Windows NT 3.51 or later.
**  Windows 95/98:** Requires Windows 95 or later. Available as a redistributable for Windows 95.
**  Header:** Declared in wingdi.h.

See Also

OpenGL on Windows NT, Windows 2000, and Windows 95/98, Structures, POINTFLOAT, wglUseFontOutlines