Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DWRITE_GLYPH_RUN_DESCRIPTION structure

Contains additional properties related to those in DWRITE_GLYPH_RUN.

Syntax


struct DWRITE_GLYPH_RUN_DESCRIPTION {
  const WCHAR  *localeName;
  const WCHAR  *string;
  UINT32       stringLength;
  const UINT16 *clusterMap;
  UINT32       textPosition;
};

Members

localeName

Type: const WCHAR*

An array of characters containing the locale name associated with this run.

string

Type: const WCHAR*

An array of characters containing the text associated with the glyphs.

stringLength

Type: UINT32

The number of characters in UTF16 code-units. Note that this may be different than the number of glyphs.

clusterMap

Type: const UINT16*

An array of indices to the glyph indices array, of the first glyphs of all the glyph clusters of the glyphs to render.

textPosition

Type: UINT32

Corresponding text position in the string this glyph run came from. This is relative to the beginning of the string represented by the IDWriteTextLayout object.

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]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite.h

 

 

Community Additions

Show:
© 2014 Microsoft