C# Class Pinta.ImageManipulation.BinaryPixelOp

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)
Inheritance: PixelOp
Mostra file Open project: PintaProject/Pinta.ImageManipulation

Public Methods

Method Description
Apply ( ColorBgra lhs, ColorBgra rhs ) : ColorBgra
Apply ( ColorBgra lhs, ColorBgra rhs, ColorBgra dst, int length ) : void
Apply ( ColorBgra src, ColorBgra dst, int length ) : void
Apply ( ISurface src, ISurface dst ) : void
Apply ( ISurface lhs, ISurface rhs, ISurface dst ) : void
Apply ( ISurface lhs, ISurface rhs, ISurface dst, Rectangle roi ) : void
Apply ( ISurface src, ISurface dst, Rectangle roi ) : void
ApplyAsync ( ISurface src, ISurface dst ) : Task
ApplyAsync ( ISurface src, ISurface dst, CancellationToken token ) : Task
ApplyAsync ( ISurface src, ISurface dst, CancellationToken token, IRenderProgress progress ) : Task
ApplyAsync ( ISurface lhs, ISurface rhs, ISurface dst ) : Task
ApplyAsync ( ISurface lhs, ISurface rhs, ISurface dst, CancellationToken token ) : Task
ApplyAsync ( ISurface lhs, ISurface rhs, ISurface dst, Rectangle roi ) : Task
ApplyAsync ( ISurface lhs, ISurface rhs, ISurface dst, Rectangle roi, CancellationToken token ) : Task
ApplyAsync ( ISurface lhs, ISurface rhs, ISurface dst, Rectangle roi, CancellationToken token, IRenderProgress progress ) : Task
ApplyAsync ( ISurface src, ISurface dst, Rectangle roi ) : Task
ApplyAsync ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token ) : Task
ApplyAsync ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token, IRenderProgress progress ) : Task

Protected Methods

Method Description
ApplyLoop ( ISurface lhs, ISurface rhs, ISurface dst, Rectangle roi, CancellationToken token, IRenderProgress progress ) : void
ApplyLoop ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token, IRenderProgress progress ) : void

Private Methods

Method Description
FindLastCompletedLine ( bool lines, int start ) : int

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 ( ColorBgra lhs, ColorBgra rhs, ColorBgra dst, int length ) : void
lhs ColorBgra
rhs ColorBgra
dst ColorBgra
length int
return void

Apply() public method

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

Apply() public method

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

Apply() public method

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

Apply() public method

public Apply ( ISurface lhs, ISurface rhs, ISurface dst, Rectangle roi ) : void
lhs ISurface
rhs ISurface
dst ISurface
roi Rectangle
return void

Apply() public method

public Apply ( ISurface src, ISurface dst, Rectangle roi ) : void
src ISurface
dst ISurface
roi Rectangle
return void

ApplyAsync() public method

public ApplyAsync ( ISurface src, ISurface dst ) : Task
src ISurface
dst ISurface
return Task

ApplyAsync() public method

public ApplyAsync ( ISurface src, ISurface dst, CancellationToken token ) : Task
src ISurface
dst ISurface
token System.Threading.CancellationToken
return Task

ApplyAsync() public method

public ApplyAsync ( ISurface src, ISurface dst, CancellationToken token, IRenderProgress progress ) : Task
src ISurface
dst ISurface
token System.Threading.CancellationToken
progress IRenderProgress
return Task

ApplyAsync() public method

public ApplyAsync ( ISurface lhs, ISurface rhs, ISurface dst ) : Task
lhs ISurface
rhs ISurface
dst ISurface
return Task

ApplyAsync() public method

public ApplyAsync ( ISurface lhs, ISurface rhs, ISurface dst, CancellationToken token ) : Task
lhs ISurface
rhs ISurface
dst ISurface
token System.Threading.CancellationToken
return Task

ApplyAsync() public method

public ApplyAsync ( ISurface lhs, ISurface rhs, ISurface dst, Rectangle roi ) : Task
lhs ISurface
rhs ISurface
dst ISurface
roi Rectangle
return Task

ApplyAsync() public method

public ApplyAsync ( ISurface lhs, ISurface rhs, ISurface dst, Rectangle roi, CancellationToken token ) : Task
lhs ISurface
rhs ISurface
dst ISurface
roi Rectangle
token System.Threading.CancellationToken
return Task

ApplyAsync() public method

public ApplyAsync ( ISurface lhs, ISurface rhs, ISurface dst, Rectangle roi, CancellationToken token, IRenderProgress progress ) : Task
lhs ISurface
rhs ISurface
dst ISurface
roi Rectangle
token System.Threading.CancellationToken
progress IRenderProgress
return Task

ApplyAsync() public method

public ApplyAsync ( ISurface src, ISurface dst, Rectangle roi ) : Task
src ISurface
dst ISurface
roi Rectangle
return Task

ApplyAsync() public method

public ApplyAsync ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token ) : Task
src ISurface
dst ISurface
roi Rectangle
token System.Threading.CancellationToken
return Task

ApplyAsync() public method

public ApplyAsync ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token, IRenderProgress progress ) : Task
src ISurface
dst ISurface
roi Rectangle
token System.Threading.CancellationToken
progress IRenderProgress
return Task

ApplyLoop() protected method

protected ApplyLoop ( ISurface lhs, ISurface rhs, ISurface dst, Rectangle roi, CancellationToken token, IRenderProgress progress ) : void
lhs ISurface
rhs ISurface
dst ISurface
roi Rectangle
token System.Threading.CancellationToken
progress IRenderProgress
return void

ApplyLoop() protected method

protected ApplyLoop ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token, IRenderProgress progress ) : void
src ISurface
dst ISurface
roi Rectangle
token System.Threading.CancellationToken
progress IRenderProgress
return void