comparison examples/calculator/calculator_scr.svg @ 88:dd813dcc232c

New example, calculator.
author Thinker K.F. Li <thinker@branda.to>
date Sat, 23 Aug 2008 15:26:47 +0800
parents
children 3f619ae03678
comparison
equal deleted inserted replaced
87:8dfebf76cb59 88:dd813dcc232c
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!-- Created with Inkscape (http://www.inkscape.org/) -->
3 <svg
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
5 xmlns:cc="http://web.resource.org/cc/"
6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7 xmlns:svg="http://www.w3.org/2000/svg"
8 xmlns="http://www.w3.org/2000/svg"
9 xmlns:xlink="http://www.w3.org/1999/xlink"
10 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12 width="300"
13 height="400"
14 id="svg2"
15 sodipodi:version="0.32"
16 inkscape:version="0.45.1"
17 version="1.0"
18 sodipodi:docbase="/usr/home/thinker/progm/MadButterfly/examples/calculator"
19 sodipodi:docname="calculator_scr.svg"
20 inkscape:output_extension="org.inkscape.output.svg.inkscape">
21 <defs
22 id="defs4">
23 <linearGradient
24 inkscape:collect="always"
25 id="linearGradient3216">
26 <stop
27 style="stop-color:#ff0000;stop-opacity:1;"
28 offset="0"
29 id="stop3218" />
30 <stop
31 style="stop-color:#ff0000;stop-opacity:0;"
32 offset="1"
33 id="stop3220" />
34 </linearGradient>
35 <linearGradient
36 inkscape:collect="always"
37 id="linearGradient2239">
38 <stop
39 style="stop-color:#008080;stop-opacity:1;"
40 offset="0"
41 id="stop2241" />
42 <stop
43 style="stop-color:#008080;stop-opacity:0;"
44 offset="1"
45 id="stop2243" />
46 </linearGradient>
47 <linearGradient
48 id="linearGradient2229">
49 <stop
50 style="stop-color:#128000;stop-opacity:1;"
51 offset="0"
52 id="stop2231" />
53 <stop
54 id="stop2237"
55 offset="0.5"
56 style="stop-color:#09bf00;stop-opacity:0.82474226;" />
57 <stop
58 style="stop-color:#00ff00;stop-opacity:0"
59 offset="1"
60 id="stop2233" />
61 </linearGradient>
62 <radialGradient
63 inkscape:collect="always"
64 xlink:href="#linearGradient2239"
65 id="radialGradient2245"
66 cx="80.211082"
67 cy="60.171638"
68 fx="80.211082"
69 fy="60.171638"
70 r="127.14908"
71 gradientTransform="matrix(1.4193963,-4.1503073e-3,5.8161044e-4,0.1989948,-33.675229,46.406554)"
72 gradientUnits="userSpaceOnUse" />
73 <radialGradient
74 inkscape:collect="always"
75 xlink:href="#linearGradient3216"
76 id="radialGradient3222"
77 cx="78.100266"
78 cy="147.99309"
79 fx="78.100266"
80 fy="147.99309"
81 r="141.9525"
82 gradientTransform="matrix(1.1625395,1.9037967,-1.2274429,0.7495301,168.95869,-112.91046)"
83 gradientUnits="userSpaceOnUse" />
84 </defs>
85 <sodipodi:namedview
86 id="base"
87 pagecolor="#ffffff"
88 bordercolor="#666666"
89 borderopacity="1.0"
90 gridtolerance="10000"
91 guidetolerance="10"
92 objecttolerance="10"
93 inkscape:pageopacity="0.0"
94 inkscape:pageshadow="2"
95 inkscape:zoom="0.9475"
96 inkscape:cx="150"
97 inkscape:cy="201.83531"
98 inkscape:document-units="px"
99 inkscape:current-layer="layer1"
100 width="300px"
101 height="400px"
102 inkscape:window-width="822"
103 inkscape:window-height="600"
104 inkscape:window-x="192"
105 inkscape:window-y="23" />
106 <metadata
107 id="metadata7">
108 <rdf:RDF>
109 <cc:Work
110 rdf:about="">
111 <dc:format>image/svg+xml</dc:format>
112 <dc:type
113 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
114 </cc:Work>
115 </rdf:RDF>
116 </metadata>
117 <g
118 inkscape:label="Layer 1"
119 inkscape:groupmode="layer"
120 id="layer1">
121 <rect
122 style="opacity:0.5;fill:url(#radialGradient3222);fill-opacity:1.0;stroke:none;stroke-opacity:1"
123 id="rect2227"
124 width="283.905"
125 height="288.12665"
126 x="9.4986801"
127 y="90.765175"
128 rx="4.0359654"
129 ry="3.5442207" />
130 <rect
131 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-width:0.8387413;stroke-opacity:1"
132 id="rect2192"
133 width="45.543846"
134 height="39.211391"
135 x="229.47083"
136 y="157.87187"
137 rx="4.0359654"
138 ry="3.5442207" />
139 <g
140 id="but_0">
141 <rect
142 ry="5.0559778"
143 rx="4.0216751"
144 y="98.680748"
145 x="25.857523"
146 height="55.936676"
147 width="45.382587"
148 id="rect2160"
149 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-opacity:1" />
150 <text
151 id="text2200"
152 y="127.70449"
153 x="44.327175"
154 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
155 xml:space="preserve"><tspan
156 y="127.70449"
157 x="44.327175"
158 id="tspan2202"
159 sodipodi:role="line">0</tspan></text>
160 </g>
161 <g
162 id="but_1">
163 <rect
164 ry="5.0559778"
165 rx="4.0216751"
166 y="98.680748"
167 x="92.240112"
168 height="55.936676"
169 width="45.382587"
170 id="rect2162"
171 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-opacity:1" />
172 <text
173 id="text2204"
174 y="127.70449"
175 x="104.48549"
176 style="font-size:16px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
177 xml:space="preserve"><tspan
178 style="font-size:20px"
179 y="127.70449"
180 x="104.48549"
181 id="tspan2206"
182 sodipodi:role="line">1</tspan></text>
183 </g>
184 <g
185 id="but_2">
186 <rect
187 ry="5.0559778"
188 rx="4.0216751"
189 y="98.680748"
190 x="158.6227"
191 height="55.936676"
192 width="45.382587"
193 id="rect2164"
194 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-opacity:1" />
195 <text
196 id="text2208"
197 y="129.81531"
198 x="174.14247"
199 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
200 xml:space="preserve"><tspan
201 y="129.81531"
202 x="174.14247"
203 id="tspan2210"
204 sodipodi:role="line">2</tspan></text>
205 </g>
206 <g
207 id="but_3">
208 <rect
209 ry="5.0559778"
210 rx="4.0216751"
211 y="170.61743"
212 x="25.857523"
213 height="55.936676"
214 width="45.382587"
215 id="rect2166"
216 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-opacity:1" />
217 <text
218 id="text2212"
219 y="204.74934"
220 x="45.382584"
221 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
222 xml:space="preserve"><tspan
223 y="204.74934"
224 x="45.382584"
225 id="tspan2214"
226 sodipodi:role="line">3</tspan></text>
227 </g>
228 <g
229 id="but_4">
230 <rect
231 ry="5.0559778"
232 rx="4.0216751"
233 y="170.61743"
234 x="92.240112"
235 height="55.936676"
236 width="45.382587"
237 id="rect2168"
238 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-opacity:1" />
239 <text
240 id="text2216"
241 y="200.52769"
242 x="105.5409"
243 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
244 xml:space="preserve"><tspan
245 y="200.52769"
246 x="105.5409"
247 id="tspan2218"
248 sodipodi:role="line">4</tspan></text>
249 </g>
250 <g
251 id="but_5">
252 <rect
253 ry="5.0559778"
254 rx="4.0216751"
255 y="170.61743"
256 x="158.6227"
257 height="55.936676"
258 width="45.382587"
259 id="rect2170"
260 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-opacity:1" />
261 <text
262 id="text2220"
263 y="200.52769"
264 x="172.03166"
265 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
266 xml:space="preserve"><tspan
267 y="200.52769"
268 x="172.03166"
269 id="tspan2222"
270 sodipodi:role="line">5</tspan></text>
271 </g>
272 <g
273 id="but_6">
274 <rect
275 ry="5.0559778"
276 rx="4.0216751"
277 y="242.55411"
278 x="25.857523"
279 height="55.936676"
280 width="45.382587"
281 id="rect2172"
282 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-opacity:1" />
283 <text
284 id="text2224"
285 y="275.46173"
286 x="42.216358"
287 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
288 xml:space="preserve"><tspan
289 y="275.46173"
290 x="42.216358"
291 id="tspan2226"
292 sodipodi:role="line">6</tspan></text>
293 </g>
294 <g
295 id="but_7">
296 <rect
297 ry="5.0559778"
298 rx="4.0216751"
299 y="242.55411"
300 x="92.240112"
301 height="55.936676"
302 width="45.382587"
303 id="rect2174"
304 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-opacity:1" />
305 <text
306 id="text2228"
307 y="275.46176"
308 x="108.70712"
309 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
310 xml:space="preserve"><tspan
311 y="275.46176"
312 x="108.70712"
313 id="tspan2230"
314 sodipodi:role="line">7</tspan></text>
315 </g>
316 <g
317 id="but_8">
318 <rect
319 ry="5.0559778"
320 rx="4.0216751"
321 y="242.55411"
322 x="158.6227"
323 height="55.936676"
324 width="45.382587"
325 id="rect2176"
326 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-opacity:1" />
327 <text
328 id="text2232"
329 y="273.35092"
330 x="174.14249"
331 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
332 xml:space="preserve"><tspan
333 y="273.35092"
334 x="174.14249"
335 id="tspan2234"
336 sodipodi:role="line">8</tspan></text>
337 </g>
338 <g
339 id="but_9">
340 <rect
341 ry="5.0559778"
342 rx="4.0216751"
343 y="314.49078"
344 x="25.857523"
345 height="55.936676"
346 width="45.382587"
347 id="rect2178"
348 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-opacity:1" />
349 <text
350 id="text2236"
351 y="348.28497"
352 x="44.327179"
353 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
354 xml:space="preserve"><tspan
355 y="348.28497"
356 x="44.327179"
357 id="tspan2238"
358 sodipodi:role="line">9</tspan></text>
359 </g>
360 <g
361 id="but_add">
362 <rect
363 ry="5.0559778"
364 rx="4.0216751"
365 y="314.49078"
366 x="92.240112"
367 height="55.936676"
368 width="45.382587"
369 id="rect2180"
370 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-opacity:1" />
371 <text
372 id="text2240"
373 y="346.17413"
374 x="108.70712"
375 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
376 xml:space="preserve"><tspan
377 y="346.17413"
378 x="108.70712"
379 id="tspan2242"
380 sodipodi:role="line">+</tspan></text>
381 </g>
382 <g
383 id="but_minus">
384 <rect
385 ry="5.0559778"
386 rx="4.0216751"
387 y="314.49078"
388 x="158.6227"
389 height="55.936676"
390 width="45.382587"
391 id="rect2182"
392 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-opacity:1" />
393 <text
394 id="text2244"
395 y="343.00793"
396 x="180.47493"
397 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
398 xml:space="preserve"><tspan
399 y="343.00793"
400 x="180.47493"
401 id="tspan2246"
402 sodipodi:role="line">-</tspan></text>
403 </g>
404 <g
405 id="but_mul">
406 <rect
407 ry="3.5442207"
408 rx="4.0359654"
409 y="212.922"
410 x="229.47083"
411 height="39.211391"
412 width="45.543846"
413 id="rect2194"
414 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-width:0.8387413;stroke-opacity:1" />
415 <text
416 id="text2248"
417 y="240.63324"
418 x="248.02109"
419 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
420 xml:space="preserve"><tspan
421 y="240.63324"
422 x="248.02109"
423 id="tspan2250"
424 sodipodi:role="line">*</tspan></text>
425 </g>
426 <g
427 id="but_div">
428 <rect
429 ry="3.5442207"
430 rx="4.0359654"
431 y="267.97214"
432 x="229.47083"
433 height="39.211391"
434 width="45.543846"
435 id="rect2196"
436 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-width:0.8387413;stroke-opacity:1" />
437 <text
438 id="text2252"
439 y="293.40369"
440 x="249.07652"
441 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
442 xml:space="preserve"><tspan
443 y="293.40369"
444 x="249.07652"
445 id="tspan2254"
446 sodipodi:role="line">/</tspan></text>
447 </g>
448 <g
449 id="but_eq">
450 <rect
451 ry="3.5442207"
452 rx="4.0359654"
453 y="323.02228"
454 x="229.47083"
455 height="39.211391"
456 width="45.543846"
457 id="rect2198"
458 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-width:0.8387413;stroke-opacity:1" />
459 <text
460 id="text2256"
461 y="348.28494"
462 x="244.85489"
463 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
464 xml:space="preserve"><tspan
465 y="348.28494"
466 x="244.85489"
467 id="tspan2258"
468 sodipodi:role="line">=</tspan></text>
469 </g>
470 <g
471 id="but_clr">
472 <rect
473 ry="3.5442207"
474 rx="4.0359654"
475 y="102.82174"
476 x="229.47083"
477 height="39.211391"
478 width="45.543846"
479 id="rect2184"
480 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-width:0.8387413;stroke-opacity:1" />
481 <text
482 id="text2260"
483 y="127.70448"
484 x="240.63324"
485 style="font-size:20px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
486 xml:space="preserve"><tspan
487 y="127.70448"
488 x="240.63324"
489 id="tspan2262"
490 sodipodi:role="line">clr</tspan></text>
491 </g>
492 <rect
493 style="opacity:0.5;fill:url(#radialGradient2245);stroke:#000000;stroke-opacity:1;fill-opacity:1.0"
494 id="rect2264"
495 width="253.29816"
496 height="49.604221"
497 x="23.218998"
498 y="32.717678"
499 rx="4.0359654"
500 ry="3.5442207" />
501 <text
502 xml:space="preserve"
503 style="font-size:28px;font-style:normal;font-weight:normal;fill:#008000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans"
504 x="36.939316"
505 y="67.546173"
506 id="screen_text_u"><tspan
507 sodipodi:role="line"
508 id="screen_text"
509 x="36.939316"
510 y="67.546173">0</tspan></text>
511 </g>
512 </svg>