C# Class Fractrace.RenderImage

Inheritance: System.Windows.Forms.UserControl, IAsyncComputationStarter
Show file Open project: trafassel/Gestaltlupe

Protected Properties

Property Type Description
_fixedRenderer int
_forceRedraw bool
_graphics System.Drawing.Graphics
_inDrawing bool
_inDrawingMutex object
_isRightView bool
_iterate Iterate
_iterateMutex object
_parameter Fractrace.DataTypes.FracValues
_pictureBox System.Windows.Forms.PictureBox
_progress double
_smallPreviewCurrentDrawStep int
_smallPreviewCurrentDrawStepMutex object

Public Methods

Method Description
Abort ( ) : void
ActivatePictureArt ( ) : void
ComputationEnds ( ) : void

Wird aufgerufen, wenn die asynchrone Berechnung bendet wurde.

Draw ( ) : void

Create a draw image.

GetProgress ( ) : double
Progress ( double progressInPercent ) : void

Fortschritt in Prozent.

Redraw ( Iterate otherIterate, int renderer ) : void

Paint image with fixed renderer and reuse an iterate object after computation.

RenderImage ( ) : System

Protected Methods

Method Description
AssignParameters ( ) : void

Parameters are set from ParameterDict.

Init ( ) : void

Der Graphik-Kontext wird initialisiert.

OnProgress ( ) : void
OneStepEnds ( ) : void

Berechnung wurde beendet.

SetPictureBoxSize ( ) : void
StartDrawing ( ) : void

Neuzeichnen.

Method Details

Abort() public method

public Abort ( ) : void
return void

ActivatePictureArt() public method

public ActivatePictureArt ( ) : void
return void

AssignParameters() protected method

Parameters are set from ParameterDict.
protected AssignParameters ( ) : void
return void

ComputationEnds() public method

Wird aufgerufen, wenn die asynchrone Berechnung bendet wurde.
public ComputationEnds ( ) : void
return void

Draw() public method

Create a draw image.
public Draw ( ) : void
return void

GetProgress() public method

public GetProgress ( ) : double
return double

Init() protected method

Der Graphik-Kontext wird initialisiert.
protected Init ( ) : void
return void

OnProgress() protected method

protected OnProgress ( ) : void
return void

OneStepEnds() protected method

Berechnung wurde beendet.
protected OneStepEnds ( ) : void
return void

Progress() public method

Fortschritt in Prozent.
public Progress ( double progressInPercent ) : void
progressInPercent double
return void

Redraw() public method

Paint image with fixed renderer and reuse an iterate object after computation.
public Redraw ( Iterate otherIterate, int renderer ) : void
otherIterate Iterate
renderer int
return void

RenderImage() public method

public RenderImage ( ) : System
return System

SetPictureBoxSize() protected method

protected SetPictureBoxSize ( ) : void
return void

StartDrawing() protected method

Neuzeichnen.
protected StartDrawing ( ) : void
return void

Property Details

_fixedRenderer protected property

if fixedRenderer != -1 renderer to use for creating the bitmap.
protected int _fixedRenderer
return int

_forceRedraw protected property

True, wenn von außen das Neuzeichnen aktiviert wurde. Das bedeutet, nach der aktuellen Zeichnung ist neuzuzeichnen.
protected bool _forceRedraw
return bool

_graphics protected property

protected Graphics,System.Drawing _graphics
return System.Drawing.Graphics

_inDrawing protected property

Gibt an, ob zur Zeit gezeichnet wird.
protected bool _inDrawing
return bool

_inDrawingMutex protected property

protected object _inDrawingMutex
return object

_isRightView protected property

protected bool _isRightView
return bool

_iterate protected property

protected Iterate,Fractrace _iterate
return Iterate

_iterateMutex protected property

protected object _iterateMutex
return object

_parameter protected property

Zugriff auf die Bearbeitungsparameter.
protected FracValues,Fractrace.DataTypes _parameter
return Fractrace.DataTypes.FracValues

_pictureBox protected property

protected PictureBox,System.Windows.Forms _pictureBox
return System.Windows.Forms.PictureBox

_progress protected property

Fortschritt der Berechnung in Prozent.
protected double _progress
return double

_smallPreviewCurrentDrawStep protected property

smallPreviewCurrentDrawStep == 0 : iter(width/2,height/2) , FastPreviewRenderer smallPreviewCurrentDrawStep == 1 : (iter running) smallPreviewCurrentDrawStep == 2 : FastPreviewRenderer smallPreviewCurrentDrawStep == 3 : FastPreviewRenderer complete
protected int _smallPreviewCurrentDrawStep
return int

_smallPreviewCurrentDrawStepMutex protected property

protected object _smallPreviewCurrentDrawStepMutex
return object