C# Class Pinta.ImageManipulation.BaseEffect

Afficher le fichier Open project: PintaProject/Pinta.ImageManipulation Class Usage Examples

Méthodes publiques

Méthode Description
Render ( ISurface surface ) : void

Render the effect on the specified surface.

Render ( ISurface src, ISurface dst ) : void

Render the effect from the source surface to the destination surface.

Render ( ISurface src, ISurface dst, Rectangle roi ) : void

Render the effect from the source surface to the destination surface.

Render ( ISurface surface, Rectangle roi ) : void

Render the effect on the specified surface within the specified rectangle of interest.

RenderAsync ( ISurface surface ) : Task
RenderAsync ( ISurface surface, CancellationToken token ) : Task
RenderAsync ( ISurface src, ISurface dst ) : Task
RenderAsync ( ISurface src, ISurface dst, CancellationToken token ) : Task
RenderAsync ( ISurface src, ISurface dst, Rectangle roi ) : Task
RenderAsync ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token ) : Task
RenderAsync ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token, IRenderProgress progress ) : Task
RenderAsync ( ISurface surface, Rectangle roi ) : Task
RenderAsync ( ISurface surface, Rectangle roi, CancellationToken token ) : Task
RenderAsync ( ISurface surface, Rectangle roi, CancellationToken token, IRenderProgress progress ) : Task

Méthodes protégées

Méthode Description
OnBeginRender ( ISurface src, ISurface dst, Rectangle roi ) : void
Render ( ColorBgra color ) : ColorBgra

Performs the actual work of rendering an effect. This overload represent a single pixel of the image.

Render ( ColorBgra src, ColorBgra dst, int length ) : void

Performs the actual work of rendering an effect. This overload represent a single line of the image. Do not call base.Render ().

RenderLine ( ISurface src, ISurface dst, Rectangle roi ) : void

Performs the actual work of rendering an effect. Do not call base.Render ().

RenderLoop ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token, IRenderProgress progress ) : void
RenderLoop ( ISurface surface, Rectangle roi, CancellationToken token, IRenderProgress progress ) : void

Private Methods

Méthode Description
FindLastCompletedLine ( bool lines, int start ) : int

Method Details

OnBeginRender() protected méthode

protected OnBeginRender ( ISurface src, ISurface dst, Rectangle roi ) : void
src ISurface
dst ISurface
roi Rectangle
Résultat void

Render() protected méthode

Performs the actual work of rendering an effect. This overload represent a single pixel of the image.
protected Render ( ColorBgra color ) : ColorBgra
color ColorBgra The color of the source surface pixel.
Résultat ColorBgra

Render() protected méthode

Performs the actual work of rendering an effect. This overload represent a single line of the image. Do not call base.Render ().
protected Render ( ColorBgra src, ColorBgra dst, int length ) : void
src ColorBgra The source surface. DO NOT MODIFY.
dst ColorBgra The destination surface.
length int The number of pixels to render.
Résultat void

Render() public méthode

Render the effect on the specified surface.
public Render ( ISurface surface ) : void
surface ISurface Surface to use a the source and destination.
Résultat void

Render() public méthode

Render the effect from the source surface to the destination surface.
public Render ( ISurface src, ISurface dst ) : void
src ISurface The source surface.
dst ISurface The destination surface.
Résultat void

Render() public méthode

Render the effect from the source surface to the destination surface.
public Render ( ISurface src, ISurface dst, Rectangle roi ) : void
src ISurface The source surface.
dst ISurface The destination surface.
roi Rectangle A rectangle of interest (roi) specifying the area(s) to modify. Only these areas should be modified.
Résultat void

Render() public méthode

Render the effect on the specified surface within the specified rectangle of interest.
public Render ( ISurface surface, Rectangle roi ) : void
surface ISurface Surface to use a the source and destination.
roi Rectangle A rectangle of interest (roi) specifying the area(s) to modify. Only these areas should be modified.
Résultat void

RenderAsync() public méthode

public RenderAsync ( ISurface surface ) : Task
surface ISurface
Résultat Task

RenderAsync() public méthode

public RenderAsync ( ISurface surface, CancellationToken token ) : Task
surface ISurface
token System.Threading.CancellationToken
Résultat Task

RenderAsync() public méthode

public RenderAsync ( ISurface src, ISurface dst ) : Task
src ISurface
dst ISurface
Résultat Task

RenderAsync() public méthode

public RenderAsync ( ISurface src, ISurface dst, CancellationToken token ) : Task
src ISurface
dst ISurface
token System.Threading.CancellationToken
Résultat Task

RenderAsync() public méthode

public RenderAsync ( ISurface src, ISurface dst, Rectangle roi ) : Task
src ISurface
dst ISurface
roi Rectangle
Résultat Task

RenderAsync() public méthode

public RenderAsync ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token ) : Task
src ISurface
dst ISurface
roi Rectangle
token System.Threading.CancellationToken
Résultat Task

RenderAsync() public méthode

public RenderAsync ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token, IRenderProgress progress ) : Task
src ISurface
dst ISurface
roi Rectangle
token System.Threading.CancellationToken
progress IRenderProgress
Résultat Task

RenderAsync() public méthode

public RenderAsync ( ISurface surface, Rectangle roi ) : Task
surface ISurface
roi Rectangle
Résultat Task

RenderAsync() public méthode

public RenderAsync ( ISurface surface, Rectangle roi, CancellationToken token ) : Task
surface ISurface
roi Rectangle
token System.Threading.CancellationToken
Résultat Task

RenderAsync() public méthode

public RenderAsync ( ISurface surface, Rectangle roi, CancellationToken token, IRenderProgress progress ) : Task
surface ISurface
roi Rectangle
token System.Threading.CancellationToken
progress IRenderProgress
Résultat Task

RenderLine() protected méthode

Performs the actual work of rendering an effect. Do not call base.Render ().
protected RenderLine ( ISurface src, ISurface dst, Rectangle roi ) : void
src ISurface The source surface. DO NOT MODIFY.
dst ISurface The destination surface.
roi Rectangle A rectangle of interest (roi) specifying the area to modify. Only these areas should be modified
Résultat void

RenderLoop() protected méthode

protected RenderLoop ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token, IRenderProgress progress ) : void
src ISurface
dst ISurface
roi Rectangle
token System.Threading.CancellationToken
progress IRenderProgress
Résultat void

RenderLoop() protected méthode

protected RenderLoop ( ISurface surface, Rectangle roi, CancellationToken token, IRenderProgress progress ) : void
surface ISurface
roi Rectangle
token System.Threading.CancellationToken
progress IRenderProgress
Résultat void