[gbrainy] Fixes size of dice.svg



commit 88b157f2d6eea3fe25603c1f7714b28d75e6f087
Author: Jordi Mas <jmas softcatala org>
Date:   Thu Jun 24 19:09:02 2010 +0200

    Fixes size of dice.svg

 data/game-graphics/dice.svg   |  195 ++++++++++++++++++++++++++++++++--------
 src/Games/Logic/PuzzleDice.cs |    6 +-
 2 files changed, 159 insertions(+), 42 deletions(-)
---
diff --git a/data/game-graphics/dice.svg b/data/game-graphics/dice.svg
index 10e8feb..55a04fa 100644
--- a/data/game-graphics/dice.svg
+++ b/data/game-graphics/dice.svg
@@ -1,24 +1,38 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
-"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
 <!-- Created with Sodipodi ("http://www.sodipodi.com/";) -->
-<svg height="800pt" id="svg548" inkscape:version="0.38.1" sodipodi:docbase="/var/www/html/svg_gallery/svg/toys" sodipodi:docname="dice.svg" 
-sodipodi:version="0.32" width="400pt" xmlns="http://www.w3.org/2000/svg"; xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"; 
-xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"; xmlns:xlink="http://www.w3.org/1999/xlink";>
-  <metadata>
-    <rdf:RDF xmlns:cc="http://web.resource.org/cc/"; xmlns:dc="http://purl.org/dc/elements/1.1/"; xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
-      <cc:Work rdf:about="">
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   height="500"
+   id="svg548"
+   inkscape:version="0.47 r22583"
+   sodipodi:docname="dice.svg"
+   sodipodi:version="0.32"
+   width="500"
+   version="1.1">
+  <metadata
+     id="metadata3">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
         <dc:title>Clipart by Nicu Buculei - piggybank</dc:title>
-        <dc:description></dc:description>
+        <dc:description />
         <dc:subject>
           <rdf:Bag>
-            <rdf:li></rdf:li>
+            <rdf:li />
             <rdf:li>game</rdf:li>
             <rdf:li>recreation</rdf:li>
           </rdf:Bag>
         </dc:subject>
         <dc:publisher>
-          <cc:Agent rdf:about="http://www.openclipart.org";>
+          <cc:Agent
+             rdf:about="http://www.openclipart.org";>
             <dc:title>Nicu Buculei</dc:title>
           </cc:Agent>
         </dc:publisher>
@@ -32,39 +46,142 @@ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"; xmlns:xlink=
             <dc:title>Nicu Buculei</dc:title>
           </cc:Agent>
         </dc:rights>
-        <dc:date></dc:date>
+        <dc:date />
         <dc:format>image/svg+xml</dc:format>
-        <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
-        <cc:license rdf:resource="http://web.resource.org/cc/PublicDomain"/>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <cc:license
+           rdf:resource="http://web.resource.org/cc/PublicDomain"; />
         <dc:language>en</dc:language>
       </cc:Work>
-      <cc:License rdf:about="http://web.resource.org/cc/PublicDomain";>
-        <cc:permits rdf:resource="http://web.resource.org/cc/Reproduction"/>
-        <cc:permits rdf:resource="http://web.resource.org/cc/Distribution"/>
-        <cc:permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/>
+      <cc:License
+         rdf:about="http://web.resource.org/cc/PublicDomain";>
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Reproduction"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/Distribution"; />
+        <cc:permits
+           rdf:resource="http://web.resource.org/cc/DerivativeWorks"; />
       </cc:License>
     </rdf:RDF>
   </metadata>
-  <defs id="defs550"/>
-  <sodipodi:namedview id="base" inkscape:cx="200.00000" inkscape:cy="179.21011" inkscape:window-height="400" inkscape:window-width="400" inkscape:window-x="0" inkscape:window-y="0" inkscape:zoom="0" showgrid="true" showguides="true" snaptoguides="true"/>
-  <g id="g894">
-    <path d="M 84.7922 148.96 C 85.6401 148.96 324.754 254.103 324.754 254.103 L 485.012 111.652 L 268.791 53.1451 L 84.7922 148.96 z " id="path554" sodipodi:nodetypes="ccccc" style="fill:#e6e6e6;fill-rule:evenodd;stroke:#000000;stroke-width:9.4511288;stroke-linejoin:round;stroke-dasharray:none;" transform="matrix(1.000000,0.000000,0.000000,1.119522,-36.46066,-46.20438)"/>
-    <path d="M 49.17954 121.5090 C 49.17954 122.4583 50.87534 352.1809 50.02744 351.2315 L 289.9893 488.8756 L 286.5973 237.3202 L 49.17954 121.5090 z " id="path555" sodipodi:nodetypes="ccccc" style="font-size:12.000000;fill:#e6e6e6;fill-rule:evenodd;stroke:#000000;stroke-width:10.000000;stroke-linejoin:round;stroke-dasharray:none;"/>
-    <path d="M 326.45 478.802 L 323.906 254.103 L 485.012 111.652 L 482.468 328.72 L 326.45 478.802 z " id="path557" style="font-size:12.000000;fill:#e6e6e6;fill-rule:evenodd;stroke:#000000;stroke-width:9.4511288;stroke-linejoin:round;stroke-dasharray:none;" transform="matrix(1.000000,0.000000,0.000000,1.119522,-36.46066,-46.20438)"/>
-    <path d="M 262.6583 41.93024 C 250.7912 35.60112 216.7722 53.79735 239.7153 65.66441 C 257.1204 71.20240 284.0191 49.84166 262.6583 41.93024 z " id="path578" sodipodi:nodetypes="ccc" style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;"/>
-    <path d="M 211.2342 72.78470 C 199.3671 66.45558 165.3481 84.65181 188.2912 96.51887 C 205.6963 102.0569 232.5950 80.69612 211.2342 72.78470 z " id="path580" sodipodi:nodetypes="ccc" style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;"/>
-    <path d="M 151.8988 110.7593 C 140.0317 104.4302 106.0127 122.6264 128.9558 134.4935 C 146.3609 140.0315 173.2596 118.6707 151.8988 110.7593 z " id="path581" sodipodi:nodetypes="ccc" style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;"/>
-    <path d="M 374.2090 83.06950 C 362.3419 76.74038 328.3229 94.93661 351.2660 106.8037 C 368.6711 112.3417 395.5698 90.98092 374.2090 83.06950 z " id="path586" sodipodi:nodetypes="ccc" style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;"/>
-    <path d="M 327.5318 115.5063 C 315.6647 109.1771 281.6457 127.3734 304.5888 139.2404 C 321.9939 144.7785 348.8926 123.4177 327.5318 115.5063 z " id="path587" sodipodi:nodetypes="ccc" style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;"/>
-    <path d="M 269.7786 155.8543 C 257.9115 149.5252 223.8925 167.7214 246.8356 179.5885 C 264.2407 185.1265 291.1394 163.7657 269.7786 155.8543 z " id="path588" sodipodi:nodetypes="ccc" style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;"/>
-    <path d="M 98.89249 188.2911 C 87.02535 181.9619 77.53168 219.1455 100.4748 231.0125 C 117.8798 236.5505 120.2532 196.2024 98.89249 188.2911 z " id="path589" sodipodi:nodetypes="ccc" style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;"/>
-    <path d="M 92.56337 288.7658 C 80.69623 282.4366 71.20256 319.6202 94.14568 331.4872 C 111.5507 337.0252 113.9241 296.6771 92.56337 288.7658 z " id="path590" sodipodi:nodetypes="ccc" style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;"/>
-    <path d="M 229.4305 253.9557 C 217.5634 247.6265 208.0697 284.8101 231.0128 296.6771 C 248.4178 302.2151 250.7912 261.8670 229.4305 253.9557 z " id="path599" sodipodi:nodetypes="ccc" style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;"/>
-    <path d="M 223.1014 354.4304 C 211.2343 348.1012 201.7406 385.2848 224.6837 397.1518 C 242.0887 402.6898 244.4621 362.3417 223.1014 354.4304 z " id="path600" sodipodi:nodetypes="ccc" style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;"/>
-    <path d="M 329.9052 242.8797 C 316.4558 253.9556 322.7850 299.0506 338.6078 286.3922 C 356.8039 268.9872 347.3102 227.8480 329.9052 242.8797 z " id="path601" sodipodi:nodetypes="ccc" style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;"/>
-    <path d="M 408.2280 275.3165 C 394.7786 286.3924 401.1078 331.4874 416.9306 318.8290 C 435.1267 301.4240 425.6330 260.2848 408.2280 275.3165 z " id="path602" sodipodi:nodetypes="ccc" style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0000000pt;"/>
-    <path d="M 178.7976 53.79734 C 159.8102 63.29098 75.15826 102.0568 64.08231 121.0442 C 73.57597 132.9112 184.3356 178.7974 183.5443 178.7974 C 182.7533 178.7974 42.72156 122.6265 178.7976 53.79734 z " id="path603" sodipodi:nodetypes="cccc" style="fill:#ffffff;fill-rule:evenodd;stroke-width:1.0000000pt;"/>
-    <path d="M 380.5380 61.70868 C 389.2406 64.87324 436.7089 75.15804 439.0825 80.69603 C 437.5002 87.02515 394.7787 124.9999 387.6584 130.5379 C 395.5698 120.2531 434.3355 83.06942 380.5380 61.70868 z " id="path604" sodipodi:nodetypes="cccc" style="fill-opacity:0.24999996;fill-rule:evenodd;stroke-width:1.0000000pt;"/>
-    <path d="M 395.5698 136.8670 C 400.3166 131.3290 440.6648 89.39857 443.8293 89.39857 C 446.2027 93.35426 444.6204 143.9873 443.8293 151.1075 C 439.8736 146.3607 453.3229 75.94921 395.5698 136.8670 z " id="path605" sodipodi:nodetypes="cccc" style="fill-opacity:0.24709995;fill-rule:evenodd;stroke-width:1.0000000pt;"/>
+  <defs
+     id="defs550">
+    <inkscape:perspective
+       sodipodi:type="inkscape:persp3d"
+       inkscape:vp_x="0 : 500 : 1"
+       inkscape:vp_y="0 : 1000 : 0"
+       inkscape:vp_z="500 : 500 : 1"
+       inkscape:persp3d-origin="250 : 333.33333 : 1"
+       id="perspective26" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     inkscape:cx="301.39179"
+     inkscape:cy="377.39838"
+     inkscape:window-height="694"
+     inkscape:window-width="1152"
+     inkscape:window-x="0"
+     inkscape:window-y="52"
+     inkscape:zoom="0.472"
+     showgrid="true"
+     showguides="true"
+     snaptoguides="true"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="svg548" />
+  <g
+     id="g894"
+     transform="translate(4.6217102e-7,4.2372882)">
+    <path
+       d="m 84.7922,148.96 c 0.8479,0 239.9618,105.143 239.9618,105.143 L 485.012,111.652 268.791,53.1451 84.7922,148.96 z"
+       id="path554"
+       sodipodi:nodetypes="ccccc"
+       style="fill:#e6e6e6;fill-rule:evenodd;stroke:#000000;stroke-width:9.45112896;stroke-linejoin:round;stroke-dasharray:none"
+       transform="matrix(1,0,0,1.119522,-36.46066,-46.20438)" />
+    <path
+       d="m 49.17954,121.509 c 0,0.9493 1.6958,230.6719 0.8479,229.7225 L 289.9893,488.8756 286.5973,237.3202 49.17954,121.509 z"
+       id="path555"
+       sodipodi:nodetypes="ccccc"
+       style="font-size:12px;fill:#e6e6e6;fill-rule:evenodd;stroke:#000000;stroke-width:10;stroke-linejoin:round;stroke-dasharray:none" />
+    <path
+       d="M 326.45,478.802 323.906,254.103 485.012,111.652 482.468,328.72 326.45,478.802 z"
+       id="path557"
+       style="font-size:12px;fill:#e6e6e6;fill-rule:evenodd;stroke:#000000;stroke-width:9.45112896;stroke-linejoin:round;stroke-dasharray:none"
+       transform="matrix(1,0,0,1.119522,-36.46066,-46.20438)" />
+    <path
+       d="m 262.6583,41.93024 c -11.8671,-6.32912 -45.8861,11.86711 -22.943,23.73417 17.4051,5.53799 44.3038,-15.82275 22.943,-23.73417 z"
+       id="path578"
+       sodipodi:nodetypes="ccc"
+       style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" />
+    <path
+       d="m 211.2342,72.7847 c -11.8671,-6.32912 -45.8861,11.86711 -22.943,23.73417 17.4051,5.53803 44.3038,-15.82275 22.943,-23.73417 z"
+       id="path580"
+       sodipodi:nodetypes="ccc"
+       style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" />
+    <path
+       d="m 151.8988,110.7593 c -11.8671,-6.3291 -45.8861,11.8671 -22.943,23.7342 17.4051,5.538 44.3038,-15.8228 22.943,-23.7342 z"
+       id="path581"
+       sodipodi:nodetypes="ccc"
+       style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" />
+    <path
+       d="m 374.209,83.0695 c -11.8671,-6.32912 -45.8861,11.86711 -22.943,23.7342 17.4051,5.538 44.3038,-15.82278 22.943,-23.7342 z"
+       id="path586"
+       sodipodi:nodetypes="ccc"
+       style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" />
+    <path
+       d="m 327.5318,115.5063 c -11.8671,-6.3292 -45.8861,11.8671 -22.943,23.7341 17.4051,5.5381 44.3038,-15.8227 22.943,-23.7341 z"
+       id="path587"
+       sodipodi:nodetypes="ccc"
+       style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" />
+    <path
+       d="m 269.7786,155.8543 c -11.8671,-6.3291 -45.8861,11.8671 -22.943,23.7342 17.4051,5.538 44.3038,-15.8228 22.943,-23.7342 z"
+       id="path588"
+       sodipodi:nodetypes="ccc"
+       style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" />
+    <path
+       d="m 98.89249,188.2911 c -11.86714,-6.3292 -21.36081,30.8544 1.58231,42.7214 17.405,5.538 19.7784,-34.8101 -1.58231,-42.7214 z"
+       id="path589"
+       sodipodi:nodetypes="ccc"
+       style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" />
+    <path
+       d="m 92.56337,288.7658 c -11.86714,-6.3292 -21.36081,30.8544 1.58231,42.7214 17.40502,5.538 19.77842,-34.8101 -1.58231,-42.7214 z"
+       id="path590"
+       sodipodi:nodetypes="ccc"
+       style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" />
+    <path
+       d="m 229.4305,253.9557 c -11.8671,-6.3292 -21.3608,30.8544 1.5823,42.7214 17.405,5.538 19.7784,-34.8101 -1.5823,-42.7214 z"
+       id="path599"
+       sodipodi:nodetypes="ccc"
+       style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" />
+    <path
+       d="m 223.1014,354.4304 c -11.8671,-6.3292 -21.3608,30.8544 1.5823,42.7214 17.405,5.538 19.7784,-34.8101 -1.5823,-42.7214 z"
+       id="path600"
+       sodipodi:nodetypes="ccc"
+       style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" />
+    <path
+       d="m 329.9052,242.8797 c -13.4494,11.0759 -7.1202,56.1709 8.7026,43.5125 18.1961,-17.405 8.7024,-58.5442 -8.7026,-43.5125 z"
+       id="path601"
+       sodipodi:nodetypes="ccc"
+       style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" />
+    <path
+       d="m 408.228,275.3165 c -13.4494,11.0759 -7.1202,56.1709 8.7026,43.5125 18.1961,-17.405 8.7024,-58.5442 -8.7026,-43.5125 z"
+       id="path602"
+       sodipodi:nodetypes="ccc"
+       style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" />
+    <path
+       d="M 178.7976,53.79734 C 159.8102,63.29098 75.15826,102.0568 64.08231,121.0442 c 9.49366,11.867 120.25329,57.7532 119.46199,57.7532 -0.791,0 -140.82274,-56.1709 -4.7467,-125.00006 z"
+       id="path603"
+       sodipodi:nodetypes="cccc"
+       style="fill:#ffffff;fill-rule:evenodd;stroke-width:1pt" />
+    <path
+       d="m 380.538,61.70868 c 8.7026,3.16456 56.1709,13.44936 58.5445,18.98735 -1.5823,6.32912 -44.3038,44.30387 -51.4241,49.84187 7.9114,-10.2848 46.6771,-47.46848 -7.1204,-68.82922 z"
+       id="path604"
+       sodipodi:nodetypes="cccc"
+       style="fill-opacity:0.24999994;fill-rule:evenodd;stroke-width:1pt" />
+    <path
+       d="m 395.5698,136.867 c 4.7468,-5.538 45.095,-47.46843 48.2595,-47.46843 2.3734,3.95569 0.7911,54.58873 0,61.70893 -3.9557,-4.7468 9.4936,-75.15829 -48.2595,-14.2405 z"
+       id="path605"
+       sodipodi:nodetypes="cccc"
+       style="fill-opacity:0.24709993;fill-rule:evenodd;stroke-width:1pt" />
   </g>
 </svg>
diff --git a/src/Games/Logic/PuzzleDice.cs b/src/Games/Logic/PuzzleDice.cs
index 3a85fcc..948f93f 100644
--- a/src/Games/Logic/PuzzleDice.cs
+++ b/src/Games/Logic/PuzzleDice.cs
@@ -89,10 +89,10 @@ namespace gbrainy.Games.Logic
 			base.Draw (gr, area_width, area_height, rtl);
 			
 			if (problems[problem].single)
-				gr.DrawImageFromAssembly ("dice.svg", 0.3, 0.3, 0.4, 0.8);
+				gr.DrawImageFromAssembly ("dice.svg", 0.3, 0.3, 0.4, 0.4);
 			else {
-				gr.DrawImageFromAssembly ("dice.svg", 0.1, 0.3, 0.4, 0.8);
-				gr.DrawImageFromAssembly ("dice.svg", 0.5, 0.3, 0.4, 0.8);
+				gr.DrawImageFromAssembly ("dice.svg", 0.1, 0.3, 0.4, 0.4);
+				gr.DrawImageFromAssembly ("dice.svg", 0.5, 0.3, 0.4, 0.4);
 			}
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]