Table of Contents

Struct GlyphOutlinePoint

Namespace
DocWright.Fonts
Assembly
DocWright.Fonts.dll

One point of a glyph outline, in font units (fUnits) relative to the glyph origin. Outline coordinates are always integers: the decoders never scale, so a consumer converts to its own units at its own boundary using UnitsPerEm.

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

Constructors

GlyphOutlinePoint(int, int)

Initializes a new instance of the GlyphOutlinePoint struct.

Properties

X

Gets the X coordinate in font units.

Y

Gets the Y coordinate in font units.

Methods

Equals(GlyphOutlinePoint)
Equals(object?)
GetHashCode()
ToString()

Formats the point for diagnostics.

Operators

operator ==(GlyphOutlinePoint, GlyphOutlinePoint)

Determines equality.

operator !=(GlyphOutlinePoint, GlyphOutlinePoint)

Determines inequality.