annotate examples/tank/tank1.svg @ 431:bf1addb037b7

Add -s option to svg2code.py. Option -s is for sh_stext type. With this option, svg2code.py will generate code to using sh_stext type instead of sh_text for text nodes.
author Thinker K.F. Li <thinker@branda.to>
date Wed, 29 Jul 2009 15:03:26 +0800
parents 3895d2224e67
children
rev   line source
115
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
2 <!-- Created with Inkscape (http://www.inkscape.org/) -->
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
3 <svg
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
5 xmlns:cc="http://creativecommons.org/ns#"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
7 xmlns:svg="http://www.w3.org/2000/svg"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
8 xmlns="http://www.w3.org/2000/svg"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
10 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
11 width="50"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
12 height="50"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
13 id="svg2"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
14 sodipodi:version="0.32"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
15 inkscape:version="0.46"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
16 version="1.0"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
17 sodipodi:docname="tank1.svg"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
18 inkscape:output_extension="org.inkscape.output.svg.inkscape">
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
19 <defs
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
20 id="defs4">
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
21 <inkscape:perspective
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
22 sodipodi:type="inkscape:persp3d"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
23 inkscape:vp_x="0 : 526.18109 : 1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
24 inkscape:vp_y="0 : 1000 : 0"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
25 inkscape:vp_z="744.09448 : 526.18109 : 1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
26 inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
27 id="perspective10" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
28 </defs>
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
29 <sodipodi:namedview
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
30 id="base"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
31 pagecolor="#ffffff"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
32 bordercolor="#666666"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
33 borderopacity="1.0"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
34 gridtolerance="10000"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
35 guidetolerance="10"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
36 objecttolerance="10"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
37 inkscape:pageopacity="0.0"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
38 inkscape:pageshadow="2"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
39 inkscape:zoom="9.24"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
40 inkscape:cx="25"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
41 inkscape:cy="25"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
42 inkscape:document-units="px"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
43 inkscape:current-layer="layer1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
44 showgrid="false"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
45 inkscape:window-width="640"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
46 inkscape:window-height="695"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
47 inkscape:window-x="392"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
48 inkscape:window-y="87" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
49 <metadata
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
50 id="metadata7">
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
51 <rdf:RDF>
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
52 <cc:Work
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
53 rdf:about="">
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
54 <dc:format>image/svg+xml</dc:format>
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
55 <dc:type
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
56 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
57 </cc:Work>
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
58 </rdf:RDF>
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
59 </metadata>
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
60 <g
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
61 inkscape:label="Layer 1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
62 inkscape:groupmode="layer"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
63 id="layer1">
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
64 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
65 style="opacity:1;fill:#4d4d4d;fill-opacity:1;stroke:#4d4d4d;stroke-width:1.54299998;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
66 id="rect2401"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
67 width="9.5238094"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
68 height="30.735931"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
69 x="36.255413"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
70 y="17.207792"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
71 rx="4.0359654"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
72 ry="3.5442207" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
73 <path
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
74 style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
75 d="M 36.580085,23.701297 C 36.580085,23.701297 36.098484,21.320345 41.017315,21.320345 C 46.044371,21.320345 45.562769,23.701298 45.562769,23.701298"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
76 id="path2403"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
77 sodipodi:nodetypes="czz" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
78 <path
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
79 style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
80 d="M 36.417979,20.887444 C 36.417979,20.887444 35.936378,18.506492 40.855209,18.506492 C 45.882265,18.506492 45.400663,20.887445 45.400663,20.887445"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
81 id="path2407"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
82 sodipodi:nodetypes="czz" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
83 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
84 style="opacity:1;fill:#4d4d4d;fill-opacity:1;stroke:#4d4d4d;stroke-width:1.54299998;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
85 id="rect2383"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
86 width="9.5238094"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
87 height="30.735931"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
88 x="5.8441558"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
89 y="17.099569"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
90 rx="4.0359654"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
91 ry="3.5442207" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
92 <path
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
93 style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
94 d="M 6.1688307,23.593073 C 6.1688307,23.593073 5.6872297,21.212121 10.60606,21.212121 C 15.633116,21.212121 15.151514,23.593074 15.151514,23.593074"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
95 id="path2387"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
96 sodipodi:nodetypes="czz" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
97 <g
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
98 id="track_mark">
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
99 <path
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
100 sodipodi:nodetypes="czz"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
101 id="path2405"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
102 d="M 36.634429,26.94805 C 36.634429,26.94805 36.152828,24.567098 41.071659,24.567098 C 46.098715,24.567098 45.617113,26.948051 45.617113,26.948051"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
103 style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
104 <path
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
105 sodipodi:nodetypes="czz"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
106 id="path2389"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
107 d="M 6.2231747,26.839826 C 6.2231747,26.839826 5.7415737,24.458874 10.660404,24.458874 C 15.68746,24.458874 15.205858,26.839827 15.205858,26.839827"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
108 style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
109 </g>
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
110 <path
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
111 style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
112 d="M 6.0067247,20.77922 C 6.0067247,20.77922 5.5251237,18.398268 10.443954,18.398268 C 15.47101,18.398268 14.989408,20.779221 14.989408,20.779221"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
113 id="path2391"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
114 sodipodi:nodetypes="czz" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
115 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
116 style="opacity:1;fill:#008000;fill-opacity:1;stroke:#280b0b;stroke-width:1.54299998000000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
117 id="rect2459"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
118 width="20.779221"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
119 height="29.761906"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
120 x="15.367966"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
121 y="16.883118"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
122 rx="3.6192379"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
123 ry="4.8849683" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
124 <g
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
125 id="gun">
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
126 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
127 y="3.7839231"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
128 x="24.022018"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
129 height="16.67458"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
130 width="3.6875651"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
131 id="rect2413"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
132 style="opacity:1;fill:#b3b3b3;fill-opacity:1;stroke:#4d4d4d;stroke-width:1.53508842;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
133 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
134 y="2.5974026"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
135 x="22.186148"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
136 height="2.1645021"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
137 width="7.1428571"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
138 id="rect2415"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
139 style="opacity:1;fill:#501616;fill-opacity:1;stroke:#280b0b;stroke-width:1.54299998;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
140 </g>
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
141 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
142 style="opacity:1;fill:#501616;fill-opacity:1;stroke:#280b0b;stroke-width:2.16263962;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
143 id="rect2417"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
144 width="9.661747"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
145 height="7.9301443"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
146 x="21.52194"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
147 y="31.478651"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
148 rx="3.6192379"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
149 ry="4.8849683" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
150 </g>
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
151 </svg>