Table of Contents

Constructor ShapedGlyph

Namespace
DocWright.Core.Text
Assembly
DocWright.Core.dll

ShapedGlyph(ushort, int, Twips, Twips, Twips)

Initializes a shaped glyph.

public ShapedGlyph(ushort glyphId, int cluster, Twips advance, Twips offsetX, Twips offsetY)

Parameters

glyphId ushort

The glyph id in the font.

cluster int

The UTF-16 code unit index in the source text this glyph maps to.

advance Twips

The horizontal advance in twips.

offsetX Twips

The horizontal placement offset in twips.

offsetY Twips

The vertical placement offset in twips.