Example #1
0
 public void AddGraphic(int id, DrawerFunction.Function F, string name, typeView type)
 {
     if (IsGraphicExists(id))
     {
         return;
     }
     functions.Add(new DrawerFunction(id, F, name, type));
     needRedrawAxes = true;
 }
Example #2
0
 public DrawerFunction(int id, List <PointF> points, string name, typeView type)
 {
     ID           = id;
     RealPoints   = points;
     Name         = name;
     this.type    = type;
     GraphicColor = colors[GraphicsCount % colors.Length];
     GraphicBrush = brushes[GraphicsCount++ % brushes.Length];
     GraphicInfo  = new GraphicInfo(Name, GraphicBrush);
     singlePoints = true;
 }
Example #3
0
 public DrawerFunction(int id, Function func, String name, typeView type)
 {
     ID = id;
     GraphicFunction = func;
     Name            = name;
     this.type       = type;
     //GraphicColor = colors[GraphicsCount % colors.Length];
     GraphicColor = colors[id % colors.Length];
     //GraphicBrush = brushes[GraphicsCount++ % brushes.Length];
     GraphicBrush = brushes[id % brushes.Length];
     GraphicInfo  = new GraphicInfo(Name, GraphicBrush);
 }
Example #4
0
 public pageView(int id, typeView type, string path)
 {
     ID   = id;
     Type = type;
     Path = path;
 }
Example #5
0
 public pageView(int id, typeView type)
 {
     ID   = id;
     Type = type;
 }