PeachDrawing.Core

PeachDrawing.Core.RasterRegion

RasterRegion(Canvas, RasterSurface) Constructor

Wraps a raster graphics that paints into surface.

public RasterRegion(PeachDrawing.Core.Canvas graphics, PeachDrawing.Core.RasterSurface surface);

Parameters

graphics Canvas

a canvas whose coordinate system is the requesting canvas’s own, so paint code needs no translation

surface RasterSurface

the pixels graphics paints into