PeachDrawing
PeachDrawing.Filters.FilterOps
FilterOps.CopyCentre(RasterSurface, RasterSurface, int, int) Method
Copies the middle of padded (inside a border of padX x padY pixels) into destination.
public static void CopyCentre(PeachDrawing.Core.RasterSurface padded, PeachDrawing.Core.RasterSurface destination, int padX, int padY);
Parameters
padded RasterSurface
destination RasterSurface
padX System.Int32
padY System.Int32