Beispiel #1
0
        //масштабирование
        private void button3_Click(object sender, EventArgs e)
        {
            double ind_scale = Double.Parse(textBox5.Text);

            pol.scale(ind_scale);
            ClearWithout();

            pol.draw();

            pictureBox1.Image = pictureBox1.Image;

            return;
        }
Beispiel #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            double ind_scale = Double.Parse(textBox5.Text);

            pol.scale(ind_scale);
            pol.Display(projection);

            ClearWithout();
            foreach (var i in pol.edges)
            {
                g.DrawLine(col, i.Item1, i.Item2);
            }
            pictureBox1.Image = pictureBox1.Image;
        }