DWRITE_COLOR_GLYPH_RUN structure
Contains the information needed by renderers to draw glyph runs with glyph color information. All coordinates are in device independent pixels (DIPs).
Syntax
typedef struct _DWRITE_COLOR_GLYPH_RUN { DWRITE_GLYPH_RUN glyphRun; DWRITE_GLYPH_RUN_DESCRIPTION *glyphRunDescription; float baselineOriginX; float baselineOriginY; DWRITE_COLOR_F runColor; UINT16 paletteIndex ; } DWRITE_COLOR_GLYPH_RUN, *PDWRITE_COLOR_GLYPH_RUN;
Members
- glyphRun
-
Glyph run to draw for this layer.
- glyphRunDescription
-
Pointer to the glyph run description for this layer. This may be NULL. For example, when the original glyph run is split into multiple layers, one layer might have a description and the others have none.
- baselineOriginX
-
X coordinate of the baseline origin for the layer.
- baselineOriginY
-
Y coordinate of the baseline origin for the layer.
- runColor
-
Color value of the run; if all members are zero, the run should be drawn using the current brush.
- paletteIndex
-
Zero-based index into the font’s color palette; if this is 0xFFFF, the run should be drawn using the current brush.
Requirements
|
Minimum supported client |
Windows 8.1 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|