예제 #1
0
 //Reset method
 public void reset()
 {
     numPanes = 1;
     spanX = 30;
     spanY = 30;
     activeCanvas = new Canvas();
     mode = 1;
     pm = new PlotManager(this);
 }
예제 #2
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);
        }