DWRITE_GLYPH_RUN_DESCRIPTION structure (dwrite.h)
Contains additional properties related to those in DWRITE_GLYPH_RUN.
Syntax
struct DWRITE_GLYPH_RUN_DESCRIPTION {
WCHAR const *localeName;
WCHAR const *string;
UINT32 stringLength;
UINT16 const *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
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Header | dwrite.h |