Struct ColorGlyphRun
- Namespace
- SharpDX.DirectWrite
- Assembly
- SharpDX.Direct2D1.dll
Contains the information needed by renderers to draw glyph runs with glyph color information. All coordinates are in device independent pixels (DIPs).
public struct ColorGlyphRun
- Inherited Members
Fields
BaselineOriginX
X coordinate of the baseline origin for the layer.
public float BaselineOriginX
Field Value
BaselineOriginY
Y coordinate of the baseline origin for the layer.
public float BaselineOriginY
Field Value
GlyphRun
Glyph run to draw for this layer.
public GlyphRun GlyphRun
Field Value
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.
public nint GlyphRunDescription
Field Value
PaletteIndex
Zero-based index into the font?s color palette; if this is 0xFFFF, the run should be drawn using the current brush.
public short PaletteIndex
Field Value
RunColor
Color value of the run; if all members are zero, the run should be drawn using the current brush.
public RawColor4 RunColor
Field Value
- RawColor4