C# Class MeshExplorer.Controls.AngleHistogram

Displays an angle histogram.
The angle histogram is divided into two parts: the minimum angles on the left side (0 to 60 degrees) and the maximum angles on the right (60 to 180 degrees).
Inheritance: System.Windows.Forms.Control
Afficher le fichier Open project: filipkunc/GLGraphics

Méthodes publiques

Méthode Description
AngleHistogram ( ) : System

Initializes a new instance of the AngleHistogram control.

SetData ( int dataMin, int dataMax ) : void

Updates the histogram data and invalidates the control.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void

Private Methods

Méthode Description
DrawHistogram ( Graphics g, int offset, int left, int size, int data, Brush brush, Brush brushTop ) : void
DrawStrings ( Graphics g, SizeF fSize, int size, int middle ) : void

Draws the labels on the bottom.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ParseData ( int data ) : void

Method Details

AngleHistogram() public méthode

Initializes a new instance of the AngleHistogram control.
public AngleHistogram ( ) : System
Résultat System

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

SetData() public méthode

Updates the histogram data and invalidates the control.
public SetData ( int dataMin, int dataMax ) : void
dataMin int
dataMax int
Résultat void