Method DrawGlyphRun
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
DrawGlyphRun(IDeviceContext, Point2Float, in GlyphRun, IDeviceBrush, TextMeasuringMode)
Draws a series of glyphs to the device context.
public static void DrawGlyphRun(this IDeviceContext deviceContext, Point2Float baselineOrigin, in GlyphRun glyphRun, IDeviceBrush foregroundBrush, TextMeasuringMode measuringMode = TextMeasuringMode.Natural)
Parameters
deviceContext
IDeviceContextbaselineOrigin
Point2FloatglyphRun
GlyphRunforegroundBrush
IDeviceBrushmeasuringMode
TextMeasuringMode