how to find the degree of rotation?

Discuss SVG code, accessible via the XML Editor.
Lolalola
Posts: 3
Joined: Mon Jul 18, 2011 10:10 pm

how to find the degree of rotation?

Postby Lolalola » Fri Jul 29, 2011 6:22 pm

Hi,
how to find the degree of rotation?

I find this sample:
http://www.w3.org/TR/SVG/coords.html"codebox">

Code: Select all

[transform] => matrix(0.97723057,0.21218012,0.21218012,-0.97723057,90.7988,553.69995)
[id] => text4151
[tspan] => Array
   (
      [value] => Some text some text
      [style] => fill:#231f20;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:Arial;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:9.99999413;writing-mode:lr;-inkscape-font-specification:Arial
      [x] => 0 6.25999632 12.64999257 17.11998994 22.3099869 26.50998443 30.20998226 36.71997843 43.30997456 46.52997267 51.77996959 57.25996637 60.47996448 66.20996111 72.71995729 77.65995439 84.05995063 88.66994792 93.1299453 99.71994143 102.93993954 107.44993689 111.98993422 115.20993233 120.03992949 126.41992575 131.38992283 136.07992007 141.79991671 144.48991513 149.04991246 152.26991056 156.33990817 161.76990498 168.2199012 178.54989513 183.75989207 189.69988858 192.91988669 203.20988064 209.97987667 213.88987437 220.4798705 223.69986861 234.1098625 239.10985956 243.98985669
      [y] => 0
      [sodipodi:role] => line
      [id] => tspan4153
   )


Thanks