PageRenderTime 23ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

/GhettoduinoOutline.eps

http://github.com/danheidel/Ghettoduino
Unknown | 141 lines | 127 code | 14 blank | 0 comment | 0 complexity | f30d55263d032a8ead8c8883bb8b59a7 MD5 | raw file
  1. %!PS-Adobe-3.0 EPSF-3.0
  2. %%Title: EAGLE Drawing E:/Documents/eagle/projects/Ghettoduino/ghettoduino.brd
  3. %%Creator: EAGLE
  4. %%Pages: 1
  5. %%BoundingBox: 0 0 193 121
  6. %%EndComments
  7. % Coordinate transfer:
  8. /EU { 254 div 0.072 mul } def
  9. /inch { 72 mul } def
  10. % Linestyle:
  11. 1 setlinecap
  12. 1 setlinejoin
  13. % Drawing functions:
  14. /l { % draw a line
  15. /lw exch def
  16. /y2 exch def
  17. /x2 exch def
  18. /y1 exch def
  19. /x1 exch def
  20. newpath
  21. x1 EU y1 EU moveto
  22. x2 EU y2 EU lineto
  23. lw EU setlinewidth
  24. stroke
  25. } def
  26. /h { % draw a hole
  27. /d exch def
  28. /y exch def
  29. /x exch def
  30. d 0 gt {
  31. newpath
  32. x EU y EU d 2 div EU 0 360 arc
  33. currentgray dup
  34. 1 exch sub setgray
  35. fill
  36. setgray
  37. } if
  38. } def
  39. /b { % draw a bar
  40. /an exch def
  41. /y2 exch def
  42. /x2 exch def
  43. /y1 exch def
  44. /x1 exch def
  45. /w2 x2 x1 sub 2 div EU def
  46. /h2 y2 y1 sub 2 div EU def
  47. gsave
  48. x1 x2 add 2 div EU y1 y2 add 2 div EU translate
  49. an rotate
  50. newpath
  51. w2 h2 moveto
  52. w2 neg h2 lineto
  53. w2 neg h2 neg lineto
  54. w2 h2 neg lineto
  55. closepath
  56. fill
  57. grestore
  58. } def
  59. /c { % draw a circle
  60. /lw exch def
  61. /rd exch def
  62. /y exch def
  63. /x exch def
  64. newpath
  65. lw EU setlinewidth
  66. x EU y EU rd EU 0 360 arc
  67. stroke
  68. } def
  69. /a { % draw an arc
  70. /lc exch def
  71. /ae exch def
  72. /as exch def
  73. /lw exch def
  74. /rd exch def
  75. /y exch def
  76. /x exch def
  77. lw rd 2 mul gt {
  78. /rd rd lw 2 div add 2 div def
  79. /lw rd 2 mul def
  80. } if
  81. currentlinecap currentlinejoin
  82. lc setlinecap 0 setlinejoin
  83. newpath
  84. lw EU setlinewidth
  85. x EU y EU rd EU as ae arc
  86. stroke
  87. setlinejoin setlinecap
  88. } def
  89. /p { % draw a pie
  90. /d exch def
  91. /y exch def
  92. /x exch def
  93. newpath
  94. x EU y EU d 2 div EU 0 360 arc
  95. fill
  96. } def
  97. /edge { 0.20710678119 mul } def
  98. /o { % draw an octagon
  99. /an exch def
  100. /dy exch def
  101. /dx exch def
  102. /y exch def
  103. /x exch def
  104. gsave
  105. x EU y EU translate
  106. an dx dy lt { 90 add /dx dy /dy dx def def } if rotate
  107. newpath
  108. 0 dx 2 div sub EU 0 dy edge add EU moveto
  109. 0 dx dy sub 2 div sub dy edge sub EU 0 dy 2 div add EU lineto
  110. 0 dx dy sub 2 div add dy edge add EU 0 dy 2 div add EU lineto
  111. 0 dx 2 div add EU 0 dy edge add EU lineto
  112. 0 dx 2 div add EU 0 dy edge sub EU lineto
  113. 0 dx dy sub 2 div add dy edge add EU 0 dy 2 div sub EU lineto
  114. 0 dx dy sub 2 div sub dy edge sub EU 0 dy 2 div sub EU lineto
  115. 0 dx 2 div sub EU 0 dy edge sub EU lineto
  116. closepath
  117. fill
  118. grestore
  119. } def
  120. 61365 268366 5572 0 89.94 177.41 1 a
  121. 55799 268618 55559 86216 0 l
  122. 60639 85981 5085 0 177.35 270.00 1 a
  123. 60639 80896 558526 80896 0 l
  124. 558526 85976 5080 0 270.00 360.00 1 a
  125. 563606 85976 563606 268856 0 l
  126. 558524 268856 5082 0 0.00 90.00 1 a
  127. 558524 273938 61371 273938 0 l