C# Class Pinta.ImageManipulation.Effects.MandelbrotFractalEffect

Inheritance: BaseEffect
Datei anzeigen Open project: PintaProject/Pinta.ImageManipulation Class Usage Examples

Public Methods

Method Description
MandelbrotFractalEffect ( int factor = 1, int quality = 2, int zoom = 10, double angle, bool invertColors = false ) : System

Creates a new effect that will draw a Julia fractal.

Protected Methods

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

Private Methods

Method Description
Mandelbrot ( double r, double i, int factor ) : double

Method Details

MandelbrotFractalEffect() public method

Creates a new effect that will draw a Julia fractal.
public MandelbrotFractalEffect ( int factor = 1, int quality = 2, int zoom = 10, double angle, bool invertColors = false ) : System
factor int Factor to use. Valid range is 1 - 10.
quality int Quality of the fractal. Valid range is 1 - 5.
zoom int Size of the fractal. Valid range is 0 - 100.
angle double Angle of the fractal to render.
invertColors bool Invert the fractal colors.
return System

RenderLine() protected method

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