C# Class Snowflake.FractalScene

Datei anzeigen Open project: EFanZh/EFanZh

Public Methods

Method Description
Render ( Graphics graphics ) : void

Protected Methods

Method Description
DoDraw ( Graphics graphics ) : void
DoGetBaseSize ( ) : double
DoGetPenWidthFactor ( ) : double
DrawFractalLine ( Graphics graphics, double x1, double y1, double x2, double y2, int level ) : void

Private Methods

Method Description
UpdateLevelLineLengthCache ( ) : void
UpdateLevelPenCache ( ) : void

Method Details

DoDraw() protected abstract method

protected abstract DoDraw ( Graphics graphics ) : void
graphics System.Drawing.Graphics
return void

DoGetBaseSize() protected abstract method

protected abstract DoGetBaseSize ( ) : double
return double

DoGetPenWidthFactor() protected abstract method

protected abstract DoGetPenWidthFactor ( ) : double
return double

DrawFractalLine() protected method

protected DrawFractalLine ( Graphics graphics, double x1, double y1, double x2, double y2, int level ) : void
graphics System.Drawing.Graphics
x1 double
y1 double
x2 double
y2 double
level int
return void

Render() public method

public Render ( Graphics graphics ) : void
graphics System.Drawing.Graphics
return void