Table of Contents

Class PixelOp

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll
public abstract class PixelOp : IPixelOp
Inheritance
PixelOp
Implements
Derived
Inherited Members

Constructors

PixelOp()

Methods

Apply(ColorBgra*, ColorBgra*, int)
Apply(Surface, Surface, RectInt32[], int, int)
Apply(Surface, Surface, IList<RectInt32>, int, int)
Apply(Surface, Surface, Rectangle[], int, int)
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.

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

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

ApplyBase(Surface, Point, Surface, Point, Size)

Provides a default implementation for performing dst = F(dst, src) or F(src) over some rectangle of interest. May be slightly faster than calling the other multi-parameter Apply method, as less variables are used in the implementation, thus inducing less register pressure.

ComputeAlpha(byte, byte)

Computes alpha for r OVER l operation.