C# Class Fractrace.PreviewControl

Control which displays the redered image.
Inheritance: RenderImage
ファイルを表示 Open project: trafassel/Gestaltlupe Class Usage Examples

Protected Properties

Property Type Description
_renderOnClick bool
btnPreview System.Windows.Forms.Button

Public Methods

Method Description
Clear ( ) : void

Clear the image.

ComputationEnds ( ) : void

Wird aufgerufen, wenn die asynchrone Berechnung bendet wurde.

InitBaseImage ( ) : void

Internal reference bitmap is set (as copy of current bitmap).

InitLabelImage ( ) : void

Set the size of the labelImage

MoveBitmap ( int x, int y ) : void
PreviewControl ( int updateSteps ) : System
Progress ( double progressInPercent ) : void

Fortschritt in Prozent.

btnPreview_Click ( object sender, EventArgs e ) : void

Redraw, forced by the user (in this application on mouse click).

pArt_PaintEnds ( ) : void

Called, if event PaintEnds in Renderer is raised.

Protected Methods

Method Description
Init ( ) : void

Der Graphik-Kontext wird initialisiert.

IsSmallPreview ( ) : bool

Return true, if corresponding image is used as small preview.

OneStepEnds ( ) : void

Berechnung wurde beendet.

StartDrawing ( ) : void

Neuzeichnen.

Private Methods

Method Description
DrawFromView ( ) : void
InitializeComponent ( ) : void

Method Details

Clear() public method

Clear the image.
public Clear ( ) : void
return void

ComputationEnds() public method

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

Init() protected method

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

InitBaseImage() public method

Internal reference bitmap is set (as copy of current bitmap).
public InitBaseImage ( ) : void
return void

InitLabelImage() public method

Set the size of the labelImage
public InitLabelImage ( ) : void
return void

IsSmallPreview() protected method

Return true, if corresponding image is used as small preview.
protected IsSmallPreview ( ) : bool
return bool

MoveBitmap() public method

public MoveBitmap ( int x, int y ) : void
x int
y int
return void

OneStepEnds() protected method

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

PreviewControl() public method

public PreviewControl ( int updateSteps ) : System
updateSteps int
return System

Progress() public method

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

StartDrawing() protected method

Neuzeichnen.
protected StartDrawing ( ) : void
return void

btnPreview_Click() public method

Redraw, forced by the user (in this application on mouse click).
public btnPreview_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

pArt_PaintEnds() public method

Called, if event PaintEnds in Renderer is raised.
public pArt_PaintEnds ( ) : void
return void

Property Details

_renderOnClick protected_oe property

protected bool _renderOnClick
return bool

btnPreview protected_oe property

protected Button,System.Windows.Forms btnPreview
return System.Windows.Forms.Button