C# Class R3.Drawing.DrawUtils

Exibir arquivo Open project: roice3/Honeycombs

Public Methods

Method Description
DrawCircle ( Circle c, Graphics g, ImageSpace i ) : void
DrawCircle ( Circle c, Graphics g, ImageSpace i, Pen p ) : void
DrawFilledCircle ( Circle c, Graphics g, ImageSpace i, Brush b ) : void
DrawLine ( Vector3D p1, Vector3D p2, Graphics g, ImageSpace i, Pen p ) : void
DrawTriangle ( Mesh triangle, Graphics g, ImageSpace i ) : void

Private Methods

Method Description
Rect ( Circle c, ImageSpace i ) : Rectangle?
VecToPoint ( Vector3D vec, ImageSpace i ) : Point

Method Details

DrawCircle() public static method

public static DrawCircle ( Circle c, Graphics g, ImageSpace i ) : void
c Circle
g System.Drawing.Graphics
i ImageSpace
return void

DrawCircle() public static method

public static DrawCircle ( Circle c, Graphics g, ImageSpace i, Pen p ) : void
c Circle
g System.Drawing.Graphics
i ImageSpace
p System.Drawing.Pen
return void

DrawFilledCircle() public static method

public static DrawFilledCircle ( Circle c, Graphics g, ImageSpace i, Brush b ) : void
c Circle
g System.Drawing.Graphics
i ImageSpace
b System.Drawing.Brush
return void

DrawLine() public static method

public static DrawLine ( Vector3D p1, Vector3D p2, Graphics g, ImageSpace i, Pen p ) : void
p1 Vector3D
p2 Vector3D
g System.Drawing.Graphics
i ImageSpace
p System.Drawing.Pen
return void

DrawTriangle() public static method

public static DrawTriangle ( Mesh triangle, Graphics g, ImageSpace i ) : void
triangle R3.Geometry.Mesh
g System.Drawing.Graphics
i ImageSpace
return void