PeachDrawing
PeachDrawing.RasterCanvas
RasterCanvas.BeginRasterSurface(Rect, Nullable<double>) Method
A raster region inside a raster region (a filtered element within a filtered ancestor). It keeps this surface’s own pixel pitch and grid instead of going back to the document’s DPI, so compositing it back is an exact pixel copy rather than a resample, and it is cut to this surface: nothing outside it was painted to begin with.
public override PeachDrawing.Core.RasterRegion? BeginRasterSurface(PeachDrawing.Core.Rect layoutBounds, System.Nullable<double> dpiOverride=null);
Parameters
layoutBounds Rect
dpiOverride System.Nullable<System.Double>