坐标系是不能旋转的可以用坐标变换的方法
高中的立体几何里面学过

解决方案 »

  1.   

    可以改变rotation的值 实现旋转。
    给你个例子:
    <html xmlns:v="urn:schemas-microsoft-com:vml">
    <head>
    <title>Thinking in VML</title>
    </head>
    <STYLE>
     v\:* { BEHAVIOR: url(#default#VML) }
    </STYLE>
    <LINK REL="stylesheet" TYPE="text/css" HREF="style.css" />
    <script language="javascript">
    function rotation(){
      document.all.rot.rotation=document.all.rot.rotation+10;
    }
    </script>
    <body>
    <v:group id="rot" style='width:520px;height:390px;' coordorigin="0 0" coordsize="3000 3000">
        <v:line from="500,500" to="2500,2500" strokeColor="red"/>
        <v:oval style="left:1500;top:1500;width:100;height:100;" fillcolor="red" strokeColor="red"/>
      </v:group>
      <input type=button onclick="rotation()" style="position:absolute;left=10;top=20;"value="旋转">
    </body>
    </html>
      

  2.   

    那我要把文字从下到上横着写?行吗?