PeachDrawing.Win2D.Win2dRenderContext

Win2dRenderContext(CanvasDevice, Win2dTextEngine) Constructor

Makes a context that draws with its own device, or device when one is given.

public Win2dRenderContext(Microsoft.Graphics.Canvas.CanvasDevice? device=null, PeachDrawing.Win2D.Win2dTextEngine textEngine=PeachDrawing.Win2D.Win2dTextEngine.PeachDrawing);

Parameters

device Microsoft.Graphics.Canvas.CanvasDevice

a device to use and not dispose, or null to let the context make (and own) one when it needs it

textEngine Win2dTextEngine

which engine shapes and draws text