Partager via


XPS_GLYPH_INDEX structure

Describes the placement and location of a glyph.

Syntax

typedef struct {
  LONG  index;
  FLOAT advanceWidth;
  FLOAT horizontalOffset;
  FLOAT verticalOffset;
} XPS_GLYPH_INDEX;

Members

  • index
    The index of a glyph in the physical font.

  • advanceWidth
    Indicates the placement of the glyph that follows, relative to the origin of the current glyph. Measured in hundredths of the font's em-size.

  • horizontalOffset
    The horizontal distance, in the effective coordinate space, by which to move the glyph from the glyph's origin. Measured in hundredths of the font's em-size.

  • verticalOffset
    The vertical distance, in the effective coordinate space, by which to move the glyph from the glyph's origin. Measured in hundredths of the font's em-size.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

Xpsobjectmodel.h

IDL

XpsObjectModel.idl

See also

XML Paper Specification