C# Class R3.Drawing.DrawUtils

Afficher le fichier Open project: roice3/Honeycombs

Méthodes publiques

Méthode 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

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

Method Details

DrawCircle() public static méthode

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

DrawCircle() public static méthode

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

DrawFilledCircle() public static méthode

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

DrawLine() public static méthode

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
Résultat void

DrawTriangle() public static méthode

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