PeachDrawing

PeachDrawing.Warp

Warp.Apply(RasterSurface, RasterSurface, Homography) Method

Fills destination with source mapped by sourceToDestination. Both maps work in layout units, the units the surfaces record their placement in; a destination pixel whose source lies outside the source surface, or behind the viewer, stays transparent. Edges are soft because the source is sampled bilinearly against transparency beyond its border.

public static void Apply(PeachDrawing.Core.RasterSurface source, PeachDrawing.Core.RasterSurface destination, in PeachDrawing.Homography sourceToDestination);

Parameters

source RasterSurface

destination RasterSurface

sourceToDestination Homography