Mercurial > MadButterfly
comparison examples/calculator/calculator_scr.svg @ 372:2212f515584c
Adjust stroke width to more close to rendering result of Inkscape
- The rendering result of Cairo for stroke is almost two-times wider than
Inkscape.
- Half stroke-wdith in svg2code.py.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 27 Mar 2009 13:07:50 +0800 |
parents | 86a5ae82ccf2 |
children | e1ff44aa3b6f |
comparison
equal
deleted
inserted
replaced
371:3d21115297ba | 372:2212f515584c |
---|---|
96 guidetolerance="10" | 96 guidetolerance="10" |
97 objecttolerance="10" | 97 objecttolerance="10" |
98 inkscape:pageopacity="0.0" | 98 inkscape:pageopacity="0.0" |
99 inkscape:pageshadow="2" | 99 inkscape:pageshadow="2" |
100 inkscape:zoom="0.9475" | 100 inkscape:zoom="0.9475" |
101 inkscape:cx="-225.72559" | 101 inkscape:cx="-141.75146" |
102 inkscape:cy="201.83531" | 102 inkscape:cy="201.83531" |
103 inkscape:document-units="px" | 103 inkscape:document-units="px" |
104 inkscape:current-layer="layer1" | 104 inkscape:current-layer="layer1" |
105 width="300px" | 105 width="300px" |
106 height="400px" | 106 height="400px" |
123 <g | 123 <g |
124 inkscape:label="Layer 1" | 124 inkscape:label="Layer 1" |
125 inkscape:groupmode="layer" | 125 inkscape:groupmode="layer" |
126 id="layer1"> | 126 id="layer1"> |
127 <rect | 127 <rect |
128 style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero" | |
129 id="rect2462" | |
130 width="307.12402" | |
131 height="404.22165" | |
132 x="-1.6355898e-08" | |
133 y="0" | |
134 rx="4.1063418" | |
135 ry="5.0559778" /> | |
136 <rect | |
128 style="opacity:1;fill:url(#radialGradient3222);fill-opacity:1;stroke:none;stroke-opacity:1" | 137 style="opacity:1;fill:url(#radialGradient3222);fill-opacity:1;stroke:none;stroke-opacity:1" |
129 id="rect2227" | 138 id="rect2227" |
130 width="283.905" | 139 width="283.905" |
131 height="288.12665" | 140 height="288.12665" |
132 x="9.4986801" | 141 x="9.4986801" |
133 y="90.765175" | 142 y="90.765175" |
134 rx="4.0359654" | 143 rx="4.0359654" |
135 ry="3.5442207" /> | 144 ry="3.5442207" /> |
136 <rect | 145 <rect |
137 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-width:0.8387413;stroke-opacity:1" | 146 style="opacity:0.50000000000000000;fill:#ff0000;stroke:none;stroke-width:0.83874130000000002;stroke-opacity:1" |
138 id="rect2192" | 147 id="rect2192" |
139 width="45.543846" | 148 width="45.543846" |
140 height="39.211391" | 149 height="39.211391" |
141 x="229.47083" | 150 x="229.47083" |
142 y="157.87187" | 151 y="157.87187" |
415 y="212.922" | 424 y="212.922" |
416 x="229.47083" | 425 x="229.47083" |
417 height="39.211391" | 426 height="39.211391" |
418 width="45.543846" | 427 width="45.543846" |
419 id="rect2194" | 428 id="rect2194" |
420 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-width:0.8387413;stroke-opacity:1" /> | 429 style="opacity:0.5;fill:#ff0000;stroke:none;stroke-width:0.8387413;stroke-opacity:1" /> |
421 <text | 430 <text |
422 id="text2248" | 431 id="text2248" |
423 y="240.63324" | 432 y="240.63324" |
424 x="248.02109" | 433 x="248.02109" |
425 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" | 434 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" |
437 y="267.97214" | 446 y="267.97214" |
438 x="229.47083" | 447 x="229.47083" |
439 height="39.211391" | 448 height="39.211391" |
440 width="45.543846" | 449 width="45.543846" |
441 id="rect2196" | 450 id="rect2196" |
442 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-width:0.8387413;stroke-opacity:1" /> | 451 style="opacity:0.5;fill:#ff0000;stroke:none;stroke-width:0.8387413;stroke-opacity:1" /> |
443 <text | 452 <text |
444 id="text2252" | 453 id="text2252" |
445 y="293.40369" | 454 y="293.40369" |
446 x="249.07652" | 455 x="249.07652" |
447 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" | 456 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" |
459 y="323.02228" | 468 y="323.02228" |
460 x="229.47083" | 469 x="229.47083" |
461 height="39.211391" | 470 height="39.211391" |
462 width="45.543846" | 471 width="45.543846" |
463 id="rect2198" | 472 id="rect2198" |
464 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-width:0.8387413;stroke-opacity:1" /> | 473 style="opacity:0.5;fill:#ff0000;stroke:none;stroke-width:0.8387413;stroke-opacity:1" /> |
465 <text | 474 <text |
466 id="text2256" | 475 id="text2256" |
467 y="348.28494" | 476 y="348.28494" |
468 x="244.85489" | 477 x="244.85489" |
469 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" | 478 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" |
481 y="102.82174" | 490 y="102.82174" |
482 x="229.47083" | 491 x="229.47083" |
483 height="39.211391" | 492 height="39.211391" |
484 width="45.543846" | 493 width="45.543846" |
485 id="rect2184" | 494 id="rect2184" |
486 style="opacity:0.5;fill:#ff0000;stroke:#000000;stroke-width:0.8387413;stroke-opacity:1" /> | 495 style="opacity:0.5;fill:#ff0000;stroke:none;stroke-width:0.8387413;stroke-opacity:1" /> |
487 <text | 496 <text |
488 id="text2260" | 497 id="text2260" |
489 y="127.70448" | 498 y="127.70448" |
490 x="240.63324" | 499 x="240.63324" |
491 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" | 500 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" |