C# Class Fractrace.RenderImage

Inheritance: System.Windows.Forms.UserControl, IAsyncComputationStarter
Mostra 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_oe property

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

_forceRedraw protected_oe 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_oe property

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

_inDrawing protected_oe property

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

_inDrawingMutex protected_oe property

protected object _inDrawingMutex
return object

_isRightView protected_oe property

protected bool _isRightView
return bool

_iterate protected_oe property

protected Iterate,Fractrace _iterate
return Iterate

_iterateMutex protected_oe property

protected object _iterateMutex
return object

_parameter protected_oe property

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

_pictureBox protected_oe property

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

_progress protected_oe property

Fortschritt der Berechnung in Prozent.
protected double _progress
return double

_smallPreviewCurrentDrawStep protected_oe 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_oe property

protected object _smallPreviewCurrentDrawStepMutex
return object