示例#1
0
文件: Paint.cs 项目: rkpandya/pinac
 //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);
 }
示例#2
0
文件: Paint.cs 项目: shranjan/SPINACH
 //Reset method
 public void reset()
 {
     numPanes = 1;
     spanX = 30;
     spanY = 30;      
     activeCanvas = new Canvas();
     mode = 1;
     pm = new PlotManager(this);
 }
示例#3
0
文件: Paint.cs 项目: rkpandya/pinac
        //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);
        }
示例#4
0
文件: Paint.cs 项目: Ssunda04/pinac
        //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);
        }