Table of Contents

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

float

BaselineOriginY

Y coordinate of the baseline origin for the layer.

public float BaselineOriginY

Field Value

float

GlyphRun

Glyph run to draw for this layer.

public GlyphRun GlyphRun

Field Value

GlyphRun

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

nint

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

short

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