C# Class SuperProgram.CodeBehind.GeometryDrawer

显示文件 Open project: StanislavUshakov/NumericalMethods Class Usage Examples

Public Methods

Method Description
BufferDispose ( ) : void
DrawContours ( Pen pen ) : void
DrawLineSegments ( Pen pen ) : void
DrawPoints ( Pen pen ) : void
DrawTriangles ( Pen pen ) : void
FillBufferRectangle ( Brush brush, int x, int y, int width, int height ) : void
FillTriangles ( List triangleList, double T ) : void
GeometryDrawer ( PictureBox pictureBox ) : System
IsBufferNull ( ) : bool
RefreshImage ( ) : void
RefreshImage ( Graphics gr ) : void
SetImageBuffer ( ) : void

Private Methods

Method Description
drawLine ( Pen pen, Point pt1, Point pt2 ) : void
fillTriangle ( Brush brush, Point trianglePoints ) : void
getXOffset ( Point pt ) : int

Method Details

BufferDispose() public method

public BufferDispose ( ) : void
return void

DrawContours() public method

public DrawContours ( Pen pen ) : void
pen System.Drawing.Pen
return void

DrawLineSegments() public method

public DrawLineSegments ( Pen pen ) : void
pen System.Drawing.Pen
return void

DrawPoints() public method

public DrawPoints ( Pen pen ) : void
pen System.Drawing.Pen
return void

DrawTriangles() public method

public DrawTriangles ( Pen pen ) : void
pen System.Drawing.Pen
return void

FillBufferRectangle() public method

public FillBufferRectangle ( Brush brush, int x, int y, int width, int height ) : void
brush System.Drawing.Brush
x int
y int
width int
height int
return void

FillTriangles() public method

public FillTriangles ( List triangleList, double T ) : void
triangleList List
T double
return void

GeometryDrawer() public method

public GeometryDrawer ( PictureBox pictureBox ) : System
pictureBox System.Windows.Forms.PictureBox
return System

IsBufferNull() public method

public IsBufferNull ( ) : bool
return bool

RefreshImage() public method

public RefreshImage ( ) : void
return void

RefreshImage() public method

public RefreshImage ( Graphics gr ) : void
gr System.Drawing.Graphics
return void

SetImageBuffer() public method

public SetImageBuffer ( ) : void
return void