Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 4
0
 public pageView(int id, typeView type, string path)
 {
     ID   = id;
     Type = type;
     Path = path;
 }
Ejemplo n.º 5
0
 public pageView(int id, typeView type)
 {
     ID   = id;
     Type = type;
 }