Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Rotate the graphics without rotate the text in SVG

From: RC <raymond.chui@------.----.--->
To: NULL
Date: 8/2/2006 9:44:00 AM

First, this is a SVG issue, not 100% of XML issue. But I can't find
SVG group to post this. Since SVG is XML file, I post here hopefully
someone know both SVG and XML can help.

Here is my SVG lines

line.blue {stroke:blue;stroke-width:3;}
line.bluedash {stroke:blue;stroke-width:1;stroke-dasharray: 9,5;}

<defs>
<g id="dashLine">
<desc>Dash Line</desc>
  <line class="bluedash" x1="0" y1="-280" x2="-280" y2="0" />
</g>


<g id="arrow" stroke="blue" transform="translate(0,0)">
   <line class="blue" x1="0" y1="-280" x2="0" y2="280" />
   <use xlink:href="#dashLine" />
   <use xlink:href="#dashLine" transform="scale(-1,1)" />
   <text x="0" y="-280">Arrow</text>
</g>

</defs>

<use xlink:href="#arrow" transform="rotate(180, 0, 0)" />

Now, I rotate the arrow by 60 degrees, but the text also rotate
( read upside down).

I would like rotate the arrow in any degrees, but the text remain
zero degree rotation.

Any idea how do I resolve this problem?
Thank Q very much in advance!


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent