Esempio n. 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            int width  = (int)numericXres.Value;
            int height = (int)numericYres.Value;

            Subdivision.GenerateDemoPoints(width, height);
            doRedraw();
        }
Esempio n. 2
0
        public Form1()
        {
            InitializeComponent();
            String[] tok = "$Rev: 251 $".Split(' ');
            Text += " (rev: " + tok[1] + ')';
            Subdivision.AddUserPath();
            Subdivision.ResetRndSeed();
            int width  = (int)numericXres.Value;
            int height = (int)numericYres.Value;

            Subdivision.GenerateDemoPoints(width, height);
            output = new Bitmap(width, height, System.Drawing.Imaging.PixelFormat.Format24bppRgb);
            doRedraw();
        }