C# Class Pinta.Core.BinaryPixelOp

Inheritance: PixelOp
Mostra file Open project: xxgreg/Pinta Class Usage Examples

Public Methods

Method Description
Apply ( ColorBgra lhs, ColorBgra rhs ) : ColorBgra
Apply ( Cairo dst, Cairo src ) : void
Apply ( Cairo dst, Cairo lhs, Cairo rhs ) : void
Apply ( Cairo dst, Point dstOffset, Cairo lhs, Point lhsOffset, Cairo rhs, Point rhsOffset, Gdk.Size roiSize ) : void

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

Apply ( Cairo dst, Point dstOffset, Cairo src, Point srcOffset, int roiLength ) : void
Apply ( ColorBgra dst, ColorBgra lhs, ColorBgra rhs, int length ) : void
Apply ( ColorBgra dst, ColorBgra src, int length ) : void

Protected Methods

Method Description
BinaryPixelOp ( ) : System

Method Details

Apply() public abstract method

public abstract Apply ( ColorBgra lhs, ColorBgra rhs ) : ColorBgra
lhs ColorBgra
rhs ColorBgra
return ColorBgra

Apply() public method

public Apply ( Cairo dst, Cairo src ) : void
dst Cairo
src Cairo
return void

Apply() public method

public Apply ( Cairo dst, Cairo lhs, Cairo rhs ) : void
dst Cairo
lhs Cairo
rhs Cairo
return void

Apply() public method

Provides a default implementation for performing dst = F(lhs, rhs) over some rectangle of interest.
public Apply ( Cairo dst, Point dstOffset, Cairo lhs, Point lhsOffset, Cairo rhs, Point rhsOffset, Gdk.Size roiSize ) : void
dst Cairo The Surface to write pixels to.
dstOffset Point The pixel offset that defines the upper-left of the rectangle-of-interest for the dst Surface.
lhs Cairo The Surface to read pixels from for the lhs parameter given to the method ColorBgra Apply(ColorBgra, ColorBgra)b>.
lhsOffset Point The pixel offset that defines the upper-left of the rectangle-of-interest for the lhs Surface.
rhs Cairo The Surface to read pixels from for the rhs parameter given to the method ColorBgra Apply(ColorBgra, ColorBgra)
rhsOffset Point The pixel offset that defines the upper-left of the rectangle-of-interest for the rhs Surface.
roiSize Gdk.Size The size of the rectangles-of-interest for all Surfaces.
return void

Apply() public method

public Apply ( Cairo dst, Point dstOffset, Cairo src, Point srcOffset, int roiLength ) : void
dst Cairo
dstOffset Point
src Cairo
srcOffset Point
roiLength int
return void

Apply() public method

public Apply ( ColorBgra dst, ColorBgra lhs, ColorBgra rhs, int length ) : void
dst ColorBgra
lhs ColorBgra
rhs ColorBgra
length int
return void

Apply() public method

public Apply ( ColorBgra dst, ColorBgra src, int length ) : void
dst ColorBgra
src ColorBgra
length int
return void

BinaryPixelOp() protected method

protected BinaryPixelOp ( ) : System
return System