Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

GLYPHMETRICSFLOAT structure

Applies to: desktop apps only

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;

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

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wingdi.h

See also

OpenGL on Windows
Structures
POINTFLOAT
wglUseFontOutlines

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2015 Microsoft