annotate examples/tank/brick.svg @ 857:ea1e88c40548 abs_n_rel_center

Make scale work on center of an object
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 20 Sep 2010 22:43:44 +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="svg4002"
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="brick.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="defs4004">
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="perspective4010" />
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="1"
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="690"
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="186"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
48 inkscape:window-y="162" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
49 <metadata
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
50 id="metadata4007">
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:#808000;fill-opacity:1;stroke:#4d4d4d;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
66 id="rect4012"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
67 width="50"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
68 height="50"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
69 x="0"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
70 y="0" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
71 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
72 style="opacity:1;fill:#686800;fill-opacity:1;stroke:#501616;stroke-width:1.28507411000000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
73 id="rect4016"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
74 width="8.9140596"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
75 height="14.217091"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
76 x="0.57543749"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
77 y="0.90011281" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
78 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
79 style="opacity:1;fill:#808000;fill-opacity:1;stroke:#501616;stroke-width:1.28507411;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
80 id="rect4531"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
81 width="8.9140596"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
82 height="14.217091"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
83 x="0.62955022"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
84 y="17.891455" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
85 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
86 style="opacity:1;fill:#9d9d00;fill-opacity:1;stroke:#501616;stroke-width:1.28507411000000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
87 id="rect4533"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
88 width="8.9140596"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
89 height="14.217091"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
90 x="1.170676"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
91 y="34.666348" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
92 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
93 style="opacity:1;fill:#6d6d00;fill-opacity:1;stroke:#501616;stroke-width:1.28507411000000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
94 id="rect4535"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
95 width="8.9140596"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
96 height="14.217091"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
97 x="11.019161"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
98 y="9.341671" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
99 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
100 style="opacity:1;fill:#808000;fill-opacity:1;stroke:#501616;stroke-width:1.28507411;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
101 id="rect4537"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
102 width="8.9140596"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
103 height="14.217091"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
104 x="10.802711"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
105 y="26.116562" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
106 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
107 style="opacity:1;fill:#968400;fill-opacity:1;stroke:#501616;stroke-width:1.28507411000000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
108 id="rect4539"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
109 width="8.9140596"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
110 height="14.217091"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
111 x="21.3276"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
112 y="1.1165625" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
113 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
114 style="opacity:1;fill:#806600;fill-opacity:1;stroke:#501616;stroke-width:1.28507411000000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
115 id="rect4541"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
116 width="8.9140596"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
117 height="14.217091"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
118 x="21.381714"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
119 y="18.107903" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
120 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
121 style="opacity:1;fill:#668000;fill-opacity:1;stroke:#501616;stroke-width:1.28507411000000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
122 id="rect4543"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
123 width="8.9140596"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
124 height="14.217091"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
125 x="21.922838"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
126 y="34.882801" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
127 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
128 style="opacity:1;fill:#7c7c00;fill-opacity:1;stroke:#501616;stroke-width:1.28507411000000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
129 id="rect4545"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
130 width="8.9140596"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
131 height="14.217091"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
132 x="40.375225"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
133 y="0.90011221" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
134 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
135 style="opacity:1;fill:#6d6d00;fill-opacity:1;stroke:#501616;stroke-width:1.28507411000000005;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
136 id="rect4547"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
137 width="8.9140596"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
138 height="14.217091"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
139 x="40.429337"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
140 y="17.891455" />
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:#808000;fill-opacity:1;stroke:#501616;stroke-width:1.28507411;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
143 id="rect4549"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
144 width="8.9140596"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
145 height="14.217091"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
146 x="40.970463"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
147 y="34.666348" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
148 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
149 style="opacity:1;fill:#808000;fill-opacity:1;stroke:#501616;stroke-width:1.28507411;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
150 id="rect4551"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
151 width="8.9140596"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
152 height="14.217091"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
153 x="31.149031"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
154 y="9.9369078" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
155 <rect
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
156 style="opacity:1;fill:#808000;fill-opacity:1;stroke:#501616;stroke-width:1.28507411;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
157 id="rect4553"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
158 width="8.9140596"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
159 height="14.217091"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
160 x="30.932579"
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
161 y="26.7118" />
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
162 </g>
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
163 </svg>