Table of Contents

Struct ColorGlyphRun1

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll

Represents a color glyph run. The IDWriteFactory4::TranslateColorGlyphRun method returns an ordered collection of color glyph runs of varying types depending on what the font supports.

public struct ColorGlyphRun1
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

GlyphImageFormat

Type of glyph image format for this color run. Exactly one type will be set since TranslateColorGlyphRun has already broken down the run into separate parts.

public GlyphImageFormatS GlyphImageFormat

Field Value

GlyphImageFormatS

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

MeasuringMode

Measuring mode to use for this glyph run.

public MeasuringMode MeasuringMode

Field Value

MeasuringMode

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