如题!

解决方案 »

  1.   

    其实如果你以矩形中心进行旋转就方便设置位置了,参看
    http://blog.csdn.net/knight94/archive/2006/03/25/638397.aspx
      

  2.   

    看看帮助里面的 matrix 类
      

  3.   

    public void RotateTransformAngleMatrixOrder(PaintEventArgs e)
    {
    // Set world transform of graphics object to translate.
    //e.Graphics.TranslateTransform(100.0F, 0.0F);
    // Then to rotate, appending rotation matrix.
    e.Graphics.RotateTransform(30.0F, MatrixOrder.Append); ////30.0F 表示旋转 30度。
    // Draw translated, rotated ellipse to screen.
    //e.Graphics.DrawEllipse(new Pen(Color.Blue, 3), 0, 0, 200, 80);
    ...............
    }旋转完成后,需要再调用该函数设置为不旋转。不用理会 旋转后的坐标,系统自动执行。