PeachDrawing

PeachDrawing

TextOutlineBuilder Class

Turns a shaped glyph run into a vector GraphicsPath. Shared by every backend’s GetTextOutline(string, Font, PaintPoint, double, Nullable<ShapeSettings>) so they all place glyphs identically - it needs nothing beyond Typeface/Size, so it takes the portable Font directly rather than a backend-specific font wrapper.

public static class TextOutlineBuilder

Inheritance System.Object → TextOutlineBuilder

Methods  
Build(GraphicsPath, Font, double, string, PaintPoint, double, ShapeSettings) Builds the outline of str into path (returned, or disposed and null when the font produced no outlines - the caller’s cue to fall back to drawing the string).