home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2005 February / PCpro_2005_02.ISO / files / opensource / Dia_0.94 / dia-setup-0.94.exe / RedCar.shape < prev    next >
Encoding:
Extensible Markup Language  |  2004-03-05  |  8.4 KB  |  274 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" 
  3.     xmlns:svg="http://www.w3.org/2000/svg" 
  4.     xmlns:dc="http://purl.org/dc/elements/1.1" >
  5.  
  6. <!-- Dia-Version: 0.90-->
  7. <dc:creator>Alan Horkan</dc:creator>
  8. <dc:rights>Copyright Alan Horkan 2003</dc:rights>
  9. <dc:description>This shape is deprecated.  
  10. Do not use, edit, or modify this shape.  For testing purposes only.  
  11. It is the basis of the other car shapes but the colour is hard coded.  
  12. </dc:description>
  13. <dc:date>2003-01-08T12:00:00</dc:date>
  14. <dc:language>en-IE</dc:language>
  15.  
  16.   <name>RedCar</name>
  17.   <icon>RedCar.png</icon>
  18.   <connections>
  19.     <point x="0" y="2"/>
  20.     <point x="2" y="3"/>
  21.     <point x="2" y="4"/>
  22.     <point x="0" y="3"/>
  23.     <point x="1" y="2.5"/>
  24.     <point x="2" y="3.5"/>
  25.     <point x="1" y="3.5"/>    
  26.  
  27.     <point x="0" y="2"/>
  28.     <point x="2" y="3"/>
  29.     <point x="2" y="4"/>
  30.     <point x="0" y="3"/>
  31.     <point x="1" y="2.5"/>
  32.     <point x="2" y="3.5"/>
  33.     <point x="1" y="3.5"/>
  34.  
  35.  
  36.     <point x="5" y="1.5"/>
  37.     <point x="6" y="1"/>
  38.     <point x="4" y="0"/>
  39.     <point x="3" y="0.5"/>
  40.     <point x="5.5" y="1.25"/>
  41.     <point x="5" y="0.5"/>
  42.     <point x="3.5" y="0.25"/>
  43.  
  44.     <point x="5" y="1.5"/>
  45.     <point x="6" y="1"/>
  46.     <point x="4" y="0"/>
  47.     <point x="3" y="0.5"/>
  48.     <point x="5.5" y="1.25"/>
  49.     <point x="5" y="0.5"/>
  50.     <point x="3.5" y="0.25"/>
  51.  
  52.  
  53.     <point x="2" y="3"/>
  54.     <point x="3.5" y="2.25"/>
  55.     <point x="1.5" y="1.25"/>
  56.     <point x="0" y="2"/>
  57.     <point x="2.75" y="2.625"/>
  58.     <point x="2.5" y="1.75"/>
  59.     <point x="0.75" y="1.625"/>
  60.  
  61.     <point x="2" y="3"/>
  62.     <point x="3.5" y="2.25"/>
  63.     <point x="1.5" y="1.25"/>
  64.     <point x="0" y="2"/>
  65.     <point x="2.75" y="2.625"/>
  66.     <point x="2.5" y="1.75"/>
  67.     <point x="0.75" y="1.625"/>
  68.  
  69.  
  70.     <point x="4" y="1.5"/>
  71.     <point x="5" y="1"/>
  72.     <point x="3" y="0"/>
  73.     <point x="2" y="0.5"/>
  74.     <point x="4.5" y="1.25"/>
  75.     <point x="4" y="0.5"/>
  76.     <point x="2.5" y="0.25"/>
  77.  
  78.     <point x="4" y="1.5"/>
  79.     <point x="5" y="1"/>
  80.     <point x="3" y="0"/>
  81.     <point x="2" y="0.5"/>
  82.     <point x="4.5" y="1.25"/>
  83.     <point x="4" y="0.5"/>
  84.     <point x="2.5" y="0.25"/>
  85.  
  86.  
  87.     <point x="2" y="0.5"/>
  88.     <point x="4" y="1.5"/>
  89.     <point x="3.5" y="2.25"/>
  90.     <point x="1.5" y="1.25"/>
  91.     <point x="3" y="1"/>
  92.     <point x="3.75" y="1.875"/>
  93.     <point x="2.5" y="1.75"/>
  94.  
  95.     <point x="2" y="0.5"/>
  96.     <point x="4" y="1.5"/>
  97.     <point x="3.5" y="2.25"/>
  98.     <point x="1.5" y="1.25"/>
  99.     <point x="3" y="1"/>
  100.     <point x="3.75" y="1.875"/>
  101.     <point x="2.5" y="1.75"/>
  102.  
  103.  
  104.     <point x="4" y="1.5"/>
  105.     <point x="5" y="1"/>
  106.     <point x="5.5" y="1.25"/>
  107.     <point x="3.5" y="2.25"/>
  108.     <point x="4.5" y="1.25"/>
  109.     <point x="5.25" y="1.125"/>
  110.     <point x="4.5" y="1.75"/>
  111.  
  112.     <point x="4" y="1.5"/>
  113.     <point x="5" y="1"/>
  114.     <point x="5.5" y="1.25"/>
  115.     <point x="3.5" y="2.25"/>
  116.     <point x="4.5" y="1.25"/>
  117.     <point x="5.25" y="1.125"/>
  118.     <point x="4.5" y="1.75"/>
  119.  
  120.     <point x="2" y="3"/>
  121.     <point x="6" y="1"/>
  122.     <point x="6" y="2"/>
  123.     <point x="2" y="4"/>
  124.     <point x="4" y="2"/>
  125.     <point x="6" y="1.5"/>
  126.     <point x="4" y="3"/>
  127.  
  128.     <point x="2" y="3"/>
  129.     <point x="6" y="1"/>
  130.     <point x="6" y="2"/>
  131.     <point x="2" y="4"/>
  132.     <point x="4" y="2"/>
  133.     <point x="6" y="1.5"/>
  134.     <point x="4" y="3"/>
  135.  
  136. <!-- point x="-4.44089e-016" y="2.25"/ 
  137. I was not careful enough keeping everything snapped to the grid.  
  138. I got several points at -4.44089e-016 ~= 0 which I had to replace, correct to 
  139. the nearest integer
  140. -->
  141.     <point x="0" y="2.25"/>
  142.     <point x="0.5" y="2.5"/>
  143.     <point x="0.5" y="3"/>
  144.     <point x="0" y="2.75"/>
  145.     <point x="0.25" y="2.375"/>
  146.     <point x="0.5" y="2.75"/>
  147.     <point x="0.25" y="2.875"/>
  148.  
  149.     <point x="0" y="2.25"/>
  150.     <point x="0.5" y="2.5"/>
  151.     <point x="0.5" y="3"/>
  152.     <point x="0" y="2.75"/>
  153.     <point x="0.25" y="2.375"/>
  154.     <point x="0.5" y="2.75"/>
  155.     <point x="0.25" y="2.875"/>
  156.  
  157.  
  158.     <point x="0.5" y="2.5"/>
  159.     <point x="1.5" y="3"/>
  160.     <point x="1.5" y="3.5"/>
  161.     <point x="0.5" y="3"/>
  162.     <point x="1" y="2.75"/>
  163.     <point x="1.5" y="3.25"/>
  164.     <point x="1" y="3.25"/>
  165.  
  166.     <point x="0.5" y="2.5"/>
  167.     <point x="1.5" y="3"/>
  168.     <point x="1.5" y="3.5"/>
  169.     <point x="0.5" y="3"/>
  170.     <point x="1" y="2.75"/>
  171.     <point x="1.5" y="3.25"/>
  172.     <point x="1" y="3.25"/>
  173.  
  174.  
  175.     <point x="1.5" y="3"/>
  176.     <point x="2" y="3.25"/>
  177.     <point x="2" y="3.75"/>
  178.     <point x="1.5" y="3.5"/>
  179.     <point x="1.75" y="3.125"/>
  180.     <point x="2" y="3.5"/>
  181.     <point x="1.75" y="3.625"/>
  182.  
  183.     <point x="1.5" y="3"/>
  184.     <point x="2" y="3.25"/>
  185.     <point x="2" y="3.75"/>
  186.     <point x="1.5" y="3.5"/>
  187.     <point x="1.75" y="3.125"/>
  188.     <point x="2" y="3.5"/>
  189.     <point x="1.75" y="3.625"/>
  190.  
  191.  
  192.     <point x="3.125" y="4"/>
  193.     <point x="3.125" y="3"/>
  194.     <point x="2.75" y="3.5"/>
  195.     <point x="3.5" y="3.5"/>
  196.  
  197.     <point x="3.125" y="4"/>
  198.     <point x="3.125" y="3"/>
  199.     <point x="2.75" y="3.5"/>
  200.     <point x="3.5" y="3.5"/>
  201.  
  202.     <point x="5.125" y="3"/>
  203.     <point x="5.125" y="2"/>
  204.     <point x="4.75" y="2.5"/>
  205.     <point x="5.5" y="2.5"/>
  206.  
  207.     <point x="5.125" y="3"/>
  208.     <point x="5.125" y="2"/>
  209.     <point x="4.75" y="2.5"/>
  210.     <point x="5.5" y="2.5"/> 
  211.  
  212. <!-- group.  X centrepoint.  -->
  213.     <!-- point x="2.5" y="1.5"/ -->
  214.     <!-- point x="3.5" y="2.5"/ -->
  215.  
  216.     <point x="3" y="2"/>
  217.  
  218.     <!-- point x="3.5" y="1.5"/ -->
  219.     <!-- point x="2.5" y="2.5"/ -->
  220.     <point x="3" y="2"/>
  221. <!-- group.  X centrepoint.  -->
  222.  
  223.   </connections>
  224.   <aspectratio type="fixed"/>
  225.  
  226.   <svg:svg>
  227. <!-- #ffffff == black. Lines, wheels.  -->
  228. <!-- #ff0000 == red.  Body.  -->
  229.   <svg:g>
  230.     <svg:polygon style="fill: #ff0000" points="0,2 2,3 2,4 0,3 "/>
  231.     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,2 2,3 2,4 0,3 "/>
  232.     <svg:polygon style="fill: #ff0000" points="5,1.5 6,1 4,0 3,0.5 "/>
  233.     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="5,1.5 6,1 4,0 3,0.5 "/>
  234.     <svg:polygon style="fill: #ff0000" points="2,3 3.5,2.25 1.5,1.25 0,2 "/>
  235.     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="2,3 3.5,2.25 1.5,1.25 0,2 "/>
  236.     <svg:polygon style="fill: #ff0000" points="4,1.5 5,1 3,0 2,0.5 "/>
  237.     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="4,1.5 5,1 3,0 2,0.5 "/>
  238.     <svg:polygon style="fill: #ff0000" points="2,3 6,1 6,2 2,4 "/>
  239.     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="2,3 6,1 6,2 2,4 "/>
  240.   </svg:g>
  241.  
  242. <!-- #0000ff == blue.  Glass -->
  243.     <svg:polygon style="fill: #0000ff" points="2,0.5 4,1.5 3.5,2.25 1.5,1.25 "/>
  244.     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="2,0.5 4,1.5 3.5,2.25 1.5,1.25 "/>
  245.     <svg:polygon style="fill: #0000ff" points="4,1.5 5,1 5.5,1.25 3.5,2.25 "/>
  246.     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="4,1.5 5,1 5.5,1.25 3.5,2.25 "/>
  247.  
  248. <!-- #ffff00 == yellow.  Front lights.  -->
  249.     <svg:polygon style="fill: #ffff00" points="0,2.25 0.5,2.5 0.5,3 0,2.75 "/>
  250.     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0,2.25 0.5,2.5 0.5,3 0,2.75 "/>
  251.     <svg:polygon style="fill: #ffffff" points="0.5,2.5 1.5,3 1.5,3.5 0.5,3 "/>
  252.     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="0.5,2.5 1.5,3 1.5,3.5 0.5,3 "/>
  253.     <svg:polygon style="fill: #ffff00" points="1.5,3 2,3.25 2,3.75 1.5,3.5 "/>
  254.     <svg:polygon style="stroke-width: 0.1; stroke: #000000" points="1.5,3 2,3.25 2,3.75 1.5,3.5 "/>
  255.  
  256. <!-- group, wheels --> 
  257.   <svg:g>
  258.     <svg:ellipse style="fill: #ffffff" cx="3.125" cy="3.5" rx="0.375" ry="0.5"/>
  259.     <svg:ellipse style="stroke-width: 0.2; stroke: #000000" cx="3.125" cy="3.5" rx="0.375" ry="0.5"/>
  260.     <svg:ellipse style="fill: #ffffff" cx="5.125" cy="2.5" rx="0.375" ry="0.5"/>
  261.     <svg:ellipse style="stroke-width: 0.2; stroke: #000000" cx="5.125" cy="2.5" rx="0.375" ry="0.5"/>
  262.   </svg:g> 
  263. <!-- group, wheels -->
  264.  
  265. <!-- group, X marks the spot.  Used to help add a centre point to the original shape.  -->
  266.     <!-- svg:line style="stroke-width: 0.1; stroke: #000000" x1="2.5" y1="1.5" x2="3.5" y2="2.5" -->
  267.     <!-- svg:line style="stroke-width: 0.1; stroke: #000000" x1="3.5" y1="1.5" x2="2.5" y2="2.5" -->
  268. <!-- group, X marks the spot.  -->
  269.  
  270.   </svg:svg>
  271. </shape>
  272.  
  273. <!-- Alan was here -->
  274.