如题,希望给出代码

解决方案 »

  1.   

    - -!、、根据你的问题 我只知道两个信息1.窗体上画图 2.缩放、、、
    不知道g.DrawImage(Image img,Rectangle descRect,Rectangle srcRect,GraphicsUint srcUint);是不是你想要的
      

  2.   

    http://www.cnblogs.com/wu-jian/archive/2011/02/21/1959382.html
    看看这个应该对你又帮助滴
      

  3.   

    我找到如何缩放所画图形的方法,但是有个问题,我画的Cross交叉线,源程序的格子很小,放大后,格子大小不变,只是覆盖范围大了,我其实想要把格子变大
      

  4.   

    lz看看这里:http://topic.csdn.net/u/20111201/15/1f460276-2c8e-4243-80dc-c2a8bd1b39d5.html
      

  5.   

    private void Form1_Paint(object sender, PaintEventArgs e)
            {
                Graphics g = this.CreateGraphics();
                Pen pen = new Pen(Color.Red);
                float x=10;
                float y=10;
                float width=10;
                float height=10;
                for (int i = 0; i < 10; i++)
                {
                    x += 10;
                    y += 10;
                    width += 10;
                    height += 10;
                    g.DrawEllipse(pen, x, y, width, height);
                }
            }
    我自己写的不知道是不是这种