PeachDrawing.Win2D.Win2dComposer

Win2dComposer(Win2dRenderContext, double, double, Win2dComposerOptions) Constructor

Makes a drawing widthPoints by heightPoints points, cleared to the background.

public Win2dComposer(PeachDrawing.Win2D.Win2dRenderContext renderContext, double widthPoints, double heightPoints, PeachDrawing.Win2D.Win2dComposerOptions? options=null);

Parameters

renderContext Win2dRenderContext

where fonts and images come from; its device draws the bitmap and its PixelsPerPoint sets the canvas’s scale

widthPoints System.Double

the width of the page, in points

heightPoints System.Double

the height of the page, in points

options Win2dComposerOptions

how the bitmap is set up, or null for the defaults