示例#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;
        }
示例#2
0
文件: Form1.cs 项目: Ukolnir/MMCS_332
        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;
        }