C# 클래스 Pinta.ImageManipulation.BaseEffect

파일 보기 프로젝트 열기: PintaProject/Pinta.ImageManipulation 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
FindLastCompletedLine ( bool lines, int start ) : int

메소드 상세

OnBeginRender() 보호된 메소드

protected OnBeginRender ( ISurface src, ISurface dst, Rectangle roi ) : void
src ISurface
dst ISurface
roi Rectangle
리턴 void

Render() 보호된 메소드

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.
리턴 ColorBgra

Render() 보호된 메소드

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.
리턴 void

Render() 공개 메소드

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

Render() 공개 메소드

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.
리턴 void

Render() 공개 메소드

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.
리턴 void

Render() 공개 메소드

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.
리턴 void

RenderAsync() 공개 메소드

public RenderAsync ( ISurface surface ) : Task
surface ISurface
리턴 Task

RenderAsync() 공개 메소드

public RenderAsync ( ISurface surface, CancellationToken token ) : Task
surface ISurface
token System.Threading.CancellationToken
리턴 Task

RenderAsync() 공개 메소드

public RenderAsync ( ISurface src, ISurface dst ) : Task
src ISurface
dst ISurface
리턴 Task

RenderAsync() 공개 메소드

public RenderAsync ( ISurface src, ISurface dst, CancellationToken token ) : Task
src ISurface
dst ISurface
token System.Threading.CancellationToken
리턴 Task

RenderAsync() 공개 메소드

public RenderAsync ( ISurface src, ISurface dst, Rectangle roi ) : Task
src ISurface
dst ISurface
roi Rectangle
리턴 Task

RenderAsync() 공개 메소드

public RenderAsync ( ISurface src, ISurface dst, Rectangle roi, CancellationToken token ) : Task
src ISurface
dst ISurface
roi Rectangle
token System.Threading.CancellationToken
리턴 Task

RenderAsync() 공개 메소드

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
리턴 Task

RenderAsync() 공개 메소드

public RenderAsync ( ISurface surface, Rectangle roi ) : Task
surface ISurface
roi Rectangle
리턴 Task

RenderAsync() 공개 메소드

public RenderAsync ( ISurface surface, Rectangle roi, CancellationToken token ) : Task
surface ISurface
roi Rectangle
token System.Threading.CancellationToken
리턴 Task

RenderAsync() 공개 메소드

public RenderAsync ( ISurface surface, Rectangle roi, CancellationToken token, IRenderProgress progress ) : Task
surface ISurface
roi Rectangle
token System.Threading.CancellationToken
progress IRenderProgress
리턴 Task

RenderLine() 보호된 메소드

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
리턴 void

RenderLoop() 보호된 메소드

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
리턴 void

RenderLoop() 보호된 메소드

protected RenderLoop ( ISurface surface, Rectangle roi, CancellationToken token, IRenderProgress progress ) : void
surface ISurface
roi Rectangle
token System.Threading.CancellationToken
progress IRenderProgress
리턴 void