Interface IGlyphPathBuilder
A lightweight interface for constructing TrueType glyph paths using move, line, curve, and close commands.
public interface IGlyphPathBuilder
Remarks
Glyphs in TrueType fonts use quadratic Bézier curves with optional off-curve control points. This interface is intended for glyph outlines and font rendering engines.
Methods
ClosePath()
Closes the current path contour.
void ClosePath()
CurveTo(Point, Point)
Draws a quadratic Bézier curve using a control point and end point.
void CurveTo(Point control, Point to)
Parameters
LineTo(Point)
Draws a straight line to the specified point.
void LineTo(Point to)
Parameters
to
Point
MoveTo(Point)
Begins a new sub-path at the specified point.
void MoveTo(Point to)
Parameters
to
Point