Table of Contents

Method TryComputeControlBounds

Namespace
DocWright.Fonts
Assembly
DocWright.Fonts.dll

TryComputeControlBounds(out GlyphBoundingBox)

Computes the control-point bounding box: the box containing every on-curve and off-curve point. This is the box glyf's header records for straight-edged glyphs, and a superset of the true curve box wherever a control point lies outside it. Integer only — no scaling, no root finding.

public bool TryComputeControlBounds(out GlyphBoundingBox boundingBox)

Parameters

boundingBox GlyphBoundingBox

The control-point box when the glyph has at least one point.

Returns

bool

true when the glyph has at least one point.