Method DrawSvgGlyphRun
- Namespace
 - PaintDotNet.Direct2D1
 
- Assembly
 - PaintDotNet.Windows.dll
 
DrawSvgGlyphRun(Point2Float, in GlyphRun, IDeviceBrush?, ISvgGlyphStyle?, int, TextMeasuringMode)
Draws a color glyph run that has the format of Svg.
void DrawSvgGlyphRun(Point2Float baselineOrigin, in GlyphRun glyphRun, IDeviceBrush? defaultFillBrush = null, ISvgGlyphStyle? svgGlyphStyle = null, int colorPaletteIndex = 0, TextMeasuringMode measuringMode = TextMeasuringMode.Natural)
Parameters
baselineOriginPoint2FloatThe origin of the baseline for the glyph run.
glyphRunGlyphRunThe glyphs to render.
defaultFillBrushIDeviceBrushThe brush used to paint the specified glyphs.
svgGlyphStyleISvgGlyphStyleValues for context-fill, context-stroke, and context-value that are used when rendering SVG glyphs.
colorPaletteIndexintThe index used to select a color palette within a color font. Note that this not the same as the paletteIndex in the ColorGlyphRun struct, which is not relevant for SVG glyphs.
measuringModeTextMeasuringModeIndicates the measuring method used for text layout.