Example #1
0
 //Reset method
 public void reset()
 {
     numPanes = 1;
     spanX = 30;
     spanY = 30;      
     activeCanvas = new Canvas();
     activeCanvas.Width = 500;
     activeCanvas.Height = 500;
     mainViewport = new Viewport3D();
     mainViewport.Height = 500;
     mainViewport.Width = 500;
     mode = 1;
     factx = 1;
     facty = 1;
     pm = new PlotManager(this);
 }
Example #2
0
 //Reset method
 public void reset()
 {
     numPanes = 1;
     spanX = 30;
     spanY = 30;      
     activeCanvas = new Canvas();
     mode = 1;
     pm = new PlotManager(this);
 }
Example #3
0
        //Methods

        //Paint Constructor
        public Paint()
        {
            numPanes = 1;
            spanX = 30;
            spanY = 30;
            activeCanvas = new Canvas();
            activeCanvas.Width = 500;
            activeCanvas.Height = 500;
            mainViewport = new Viewport3D();
            mainViewport.Height = 500;
            mainViewport.Width = 500;
            mode = 1;
            factx = 1;
            facty = 1;
            Xtitle = "X-Axis";
            Ytitle = "Y-Axis";
            Plottitle = "sample plot";
            pm = new PlotManager(this);
            pm.error += new PlotManager.PlotError(OnError);
        }
Example #4
0
        //Methods

        //Paint Constructor
        public Paint()
        {
            numPanes = 1;
            spanX = 30;
            spanY = 30;
            activeCanvas = new Canvas();
            activeCanvas.Width = 500;
            activeCanvas.Height = 500;
            mode = 1;
            factx = 1;
            facty = 1;
            pm = new PlotManager(this);
            pm.error += new PlotManager.PlotError(OnError);
        }