Table of Contents

Class BinaryPixelOp

Namespace
PaintDotNet
Assembly
PaintDotNet.Core.dll

Defines a way to operate on a pixel, or a region of pixels, in a binary fashion. That is, it is a simple function F that takes two parameters and returns a result of the form: c = F(a, b)

public abstract class BinaryPixelOp : PixelOp, IPixelOp
Inheritance
BinaryPixelOp
Implements
Derived
Inherited Members

Constructors

BinaryPixelOp()

Methods

Apply(ColorBgra*, ColorBgra*, ColorBgra*, int)
Apply(ColorBgra*, ColorBgra*, int)
Apply(ColorBgra, ColorBgra)
Apply(RegionPtr<ColorBgra>, RegionPtr<ColorBgra>)
Apply(RegionPtr<ColorBgra>, RegionPtr<ColorBgra>, RegionPtr<ColorBgra>)
Apply(ISurface<ColorBgra>, ISurface<ColorBgra>)
Apply(ISurface<ColorBgra>, ISurface<ColorBgra>, ISurface<ColorBgra>)
Apply(Surface, Surface)
Apply(Surface, Surface, Surface)
Apply(Surface, Surface, Surface, Rectangle)
Apply(Surface, Point, Surface, Point, Surface, Point, Size)

Provides a default implementation for performing dst = F(lhs, rhs) over some rectangle of interest.

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

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

UnsafeApply(SizeInt32, ColorBgra*, int, ColorBgra*, int)
UnsafeApply(SizeInt32, ColorBgra*, int, ColorBgra*, int, ColorBgra*, int)
UnsafeApply(SizeInt32, ColorBgra*, int, ColorBgra*, int, Point2Int32)
UnsafeApply(int, int, ColorBgra*, int, ColorBgra*, int)
UnsafeApply(int, int, ColorBgra*, int, ColorBgra*, int, ColorBgra*, int)
UnsafeApply(int, int, ColorBgra*, int, ColorBgra*, int, Point2Int32)