Table of Contents

Struct GlyphClusterAdvance

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

One measured cluster advance within a glyph run.

public readonly struct GlyphClusterAdvance : IEquatable<GlyphClusterAdvance>
Implements
Inherited Members

Constructors

GlyphClusterAdvance(int, Twips)

Initializes a cluster advance.

Properties

Advance

Gets the cluster advance in twips.

Cluster

Gets the UTF-16 cluster index in the run text.

Methods

Equals(GlyphClusterAdvance)
Equals(object?)
GetHashCode()

Operators

operator ==(GlyphClusterAdvance, GlyphClusterAdvance)

Determines equality.

operator !=(GlyphClusterAdvance, GlyphClusterAdvance)

Determines inequality.