Exemple #1
0
 public static void Image(DrawTheory dt, IFunctionInstance name, string filepath, double width, double height)
 {
     dt.AddShape (new ShapeImage (name, filepath, width, height));
 }
Exemple #2
0
 public static void Polygon(DrawTheory dt, IFunctionInstance name, int nbOfEdges, double sizeOfEdges)
 {
     dt.AddShape (new ShapeRegularPolygonObject (name, nbOfEdges, sizeOfEdges));
 }
Exemple #3
0
 public static void Ellipse(DrawTheory dt, IFunctionInstance name, double width, double height)
 {
     dt.AddShape (new ShapeEllipse (name, width, height));
 }
Exemple #4
0
 public static void Polygon(DrawTheory dt, IFunctionInstance name, IEnhancedTermCollection points)
 {
     dt.AddShape (new ShapeIrregularPolygonObject (name, points.ValueEnumerable<IdpGie.Geometry.Point3> (TermType.Point)));
 }
Exemple #5
0
 public static void Image(DrawTheory dt, IFunctionInstance name, string filepath, double width, double height)
 {
     dt.AddShape(new ShapeImage(name, filepath, width, height));
 }
Exemple #6
0
 public static void Ellipse(DrawTheory dt, IFunctionInstance name, double width, double height)
 {
     dt.AddShape(new ShapeEllipse(name, width, height));
 }
Exemple #7
0
 public static void Polygon(DrawTheory dt, IFunctionInstance name, int nbOfEdges, double sizeOfEdges)
 {
     dt.AddShape(new ShapeRegularPolygonObject(name, nbOfEdges, sizeOfEdges));
 }
Exemple #8
0
 public static void Polygon(DrawTheory dt, IFunctionInstance name, IEnhancedTermCollection points)
 {
     dt.AddShape(new ShapeIrregularPolygonObject(name, points.ValueEnumerable <IdpGie.Geometry.Point3> (TermType.Point)));
 }