diff examples/svg2code_ex/svg2code_ex.svg @ 84:42698de1f653

Support translate() function for transform attribute of 'g' tag.
author Thinker K.F. Li <thinker@branda.to>
date Fri, 22 Aug 2008 12:52:48 +0800
parents ea758bb3bbe2
children 9b4a02bcaeb1
line wrap: on
line diff
--- a/examples/svg2code_ex/svg2code_ex.svg	Fri Aug 22 00:12:04 2008 +0800
+++ b/examples/svg2code_ex/svg2code_ex.svg	Fri Aug 22 12:52:48 2008 +0800
@@ -228,40 +228,6 @@
        y="60.644024"
        rx="4.0216751"
        ry="5.0559778" />
-    <g
-       id="file_menu"
-       transform="translate(20,40)"
-       style="display:none">
-      <rect
-         y="1.9914488"
-         x="0.45847189"
-         height="237.55008"
-         width="232.80074"
-         id="rect3157"
-         style="opacity:0.5;fill:url(#radialGradient3165);fill-opacity:1;stroke:#000000;stroke-width:0.91694379;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
-      <rect
-         y="6.8649535"
-         x="6.9150982"
-         height="219.88747"
-         width="215.13812"
-         id="rect2160"
-         style="opacity:0.5;fill:url(#linearGradient3153);fill-opacity:1;stroke:#000000;stroke-width:1.16530466;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
-      <text
-         sodipodi:linespacing="125%"
-         style="font-size:16px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;font-family:Bitstream Vera Sans"
-         id="text3134"
-         y="46.360161"
-         x="32.16227"
-         xml:space="preserve"><tspan
-           y="46.360161"
-           x="32.16227"
-           id="tspan3136"
-           sodipodi:role="line">test</tspan><tspan
-           id="tspan3138"
-           y="66.360161"
-           x="32.16227"
-           sodipodi:role="line">test</tspan></text>
-    </g>
     <rect
        style="opacity:1;fill:#f9f9f9;fill-opacity:1;stroke:#000000;stroke-width:0.93608844;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
        id="rect5130"
@@ -304,5 +270,39 @@
            id="tspan8073"
            sodipodi:role="line">檔案</tspan></text>
     </g>
+    <g
+       id="file_menu"
+       transform="translate(20,40)"
+       style="display:none">
+      <rect
+         y="1.9914488"
+         x="0.45847189"
+         height="237.55008"
+         width="232.80074"
+         id="rect3157"
+         style="opacity:0.5;fill:url(#radialGradient3165);fill-opacity:1;stroke:#000000;stroke-width:0.91694379;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
+      <rect
+         y="6.8649535"
+         x="6.9150982"
+         height="219.88747"
+         width="215.13812"
+         id="rect2160"
+         style="opacity:0.5;fill:url(#linearGradient3153);fill-opacity:1;stroke:#000000;stroke-width:1.16530466;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
+      <text
+         sodipodi:linespacing="125%"
+         style="font-size:16px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-opacity:1;font-family:Bitstream Vera Sans"
+         id="text3134"
+         y="46.360161"
+         x="32.16227"
+         xml:space="preserve"><tspan
+           y="46.360161"
+           x="32.16227"
+           id="tspan3136"
+           sodipodi:role="line">test</tspan><tspan
+           id="tspan3138"
+           y="66.360161"
+           x="32.16227"
+           sodipodi:role="line">test</tspan></text>
+    </g>
   </g>
 </svg>