C# Class Pinta.ImageManipulation.Effects.OilPaintingEffect

Inheritance: BaseEffect
Mostra file Open project: PintaProject/Pinta.ImageManipulation Class Usage Examples

Public Methods

Method Description
OilPaintingEffect ( int brushSize = 3, int coarseness = 50 ) : System

Creates a new effect that will make the image look like an oil painting.

Protected Methods

Method Description
RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void

Private Methods

Method Description
SetToZero ( byte dst, ulong length ) : void

Method Details

OilPaintingEffect() public method

Creates a new effect that will make the image look like an oil painting.
public OilPaintingEffect ( int brushSize = 3, int coarseness = 50 ) : System
brushSize int Size of the brush to use. Valid range is 1 - 8.
coarseness int Coarseness of the brush to use. Valid range is 3 - 255.
return System

RenderLine() protected method

protected RenderLine ( ISurface src, ISurface dest, Rectangle rect ) : void
src ISurface
dest ISurface
rect Rectangle
return void