Table of Contents

Method Apply

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

Apply(Surface, Point, Surface, Point, Size)

This version of Apply has the liberty to decompose the rectangle of interest or do whatever types of optimizations it wants to with it. This is generally done to split the Apply operation into multiple threads.

void Apply(Surface dst, Point dstOffset, Surface src, Point srcOffset, Size roiSize)

Parameters

dst Surface
dstOffset Point
src Surface
srcOffset Point
roiSize Size

Apply(Surface, Point, Surface, Point, int)

This version of Apply will perform on a scanline, not just a rectangle.

void Apply(Surface dst, Point dstOffset, Surface src, Point srcOffset, int scanLength)

Parameters

dst Surface
dstOffset Point
src Surface
srcOffset Point
scanLength int