C# Class Pinta.ImageManipulation.UnaryPixelOp

Defines a way to operate on a pixel, or a region of pixels, in a unary fashion. That is, it is a simple function F that takes one parameter and returns a result of the form: d = F(c)
Inheritance: PixelOp
Exibir arquivo Open project: PintaProject/Pinta.ImageManipulation

Public Methods

Method Description
Apply ( ColorBgra color ) : ColorBgra
Apply ( ColorBgra src, ColorBgra dst, int length ) : void
Apply ( ColorBgra ptr, int length ) : void
Apply ( ISurface surface ) : void
Apply ( ISurface src, ISurface dst ) : void
Apply ( ISurface src, ISurface dst, Rectangle roi ) : void
Apply ( ISurface surface, Rectangle roi ) : void
ApplyAsync ( ISurface surface ) : Task
ApplyAsync ( ISurface surface, CancellationToken token ) : Task
ApplyAsync ( ISurface surface, CancellationToken token, IRenderProgress progress ) : Task
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 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
ApplyAsync ( ISurface surface, Rectangle roi ) : Task
ApplyAsync ( ISurface surface, Rectangle roi, CancellationToken token ) : Task
ApplyAsync ( ISurface surface, Rectangle roi, CancellationToken token, IRenderProgress progress ) : Task

Protected Methods

Method Description
ApplyLoop ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token, IRenderProgress progress ) : void
ApplyLoop ( ISurface src, 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 color ) : ColorBgra
color ColorBgra
return ColorBgra

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

Apply() public method

public Apply ( ISurface surface ) : void
surface ISurface
return void

Apply() public method

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

Apply() public method

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

Apply() public method

public Apply ( ISurface surface, Rectangle roi ) : void
surface ISurface
roi Rectangle
return void

ApplyAsync() public method

public ApplyAsync ( ISurface surface ) : Task
surface ISurface
return Task

ApplyAsync() public method

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

ApplyAsync() public method

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

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 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

ApplyAsync() public method

public ApplyAsync ( ISurface surface, Rectangle roi ) : Task
surface ISurface
roi Rectangle
return Task

ApplyAsync() public method

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

ApplyAsync() public method

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

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

ApplyLoop() protected method

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