PeachDrawing.Skia.SkiaComposer

SkiaComposer(SkiaRenderContext, SKSurface, double, double, SkiaComposerOptions) Constructor

Makes a drawing widthPoints by heightPoints points that fills surface.

public SkiaComposer(PeachDrawing.Skia.SkiaRenderContext renderContext, SkiaSharp.SKSurface surface, double widthPoints, double heightPoints, PeachDrawing.Skia.SkiaComposerOptions? options=null);

Parameters

renderContext SkiaRenderContext

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

surface SkiaSharp.SKSurface

the surface to draw on, which the caller owns

widthPoints System.Double

the width of the page, in points

heightPoints System.Double

the height of the page, in points

options SkiaComposerOptions

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