Table of Contents

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 IDeviceContext
baselineOrigin Point2Float
glyphRun GlyphRun
foregroundBrush IDeviceBrush
measuringMode TextMeasuringMode

Remarks