DWRITE_COLOR_GLYPH_RUN

<summary> Represents a color glyph run. The IDWriteFactory2::TranslateColorGlyphRun method returns an ordered collection of color glyph runs, which can be layered on top of each other to produce a color representation of the given base glyph run. </summary>

Members

Variables

baselineOriginX
FLOAT baselineOriginX;

<summary> Location at which to draw this glyph run. </summary>

glyphRun
DWRITE_GLYPH_RUN glyphRun;

<summary> Glyph run to render. </summary>

glyphRunDescription
DWRITE_GLYPH_RUN_DESCRIPTION* glyphRunDescription;

<summary> Optional glyph run description. </summary>

paletteIndex
UINT16 paletteIndex;

<summary> Zero-based index of this layer's color entry in the current color palette, or 0xFFFF if this layer is to be rendered using the current foreground brush. </summary>

runColor
DWRITE_COLOR_F runColor;

<summary> Color to use for this layer, if any. This is the same color that IDWriteFontFace2::GetPaletteEntries would return for the current palette index if the paletteIndex member is less than 0xFFFF. If the paletteIndex member is 0xFFFF then there is no associated palette entry, this member is set to { 0, 0, 0, 0 }, and the client should use the current foreground brush. </summary>

Meta