PeachDrawing
PeachDrawing.TextOutlineBuilder
TextOutlineBuilder.Build(GraphicsPath, Font, double, string, PaintPoint, double, ShapeSettings) Method
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).
public static PeachDrawing.Core.GraphicsPath? Build(PeachDrawing.Core.GraphicsPath path, PeachDrawing.Core.Font realFont, double pixelsPerPoint, string str, PeachDrawing.Core.PaintPoint baselineOrigin, double letterSpacing, PeachDrawing.Text.Shaping.ShapeSettings features);
Parameters
path GraphicsPath
an empty path from the calling graphics’ own GetGraphicsPath()
realFont Font
the font to outline with
pixelsPerPoint System.Double
layout units per point (path coordinates are in layout units)
str System.String
the run to outline
baselineOrigin PaintPoint
the pen origin on the baseline (layout units)
letterSpacing System.Double
extra advance between glyphs (layout units)
features ShapeSettings
which GSUB features to apply when shaping