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