PageRenderTime 52ms CodeModel.GetById 20ms app.highlight 14ms RepoModel.GetById 16ms app.codeStats 0ms

/GhettoduinoPaste.eps

http://github.com/danheidel/Ghettoduino
Unknown | 151 lines | 137 code | 14 blank | 0 comment | 0 complexity | 480f4308966beb344f0c762aa288063d 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
  8% Coordinate transfer:
  9
 10/EU { 254 div 0.072 mul } def
 11/inch { 72 mul } def
 12
 13% Linestyle:
 14
 151 setlinecap
 161 setlinejoin
 17
 18% Drawing functions:
 19
 20/l {  % draw a line
 21   /lw exch def
 22   /y2 exch def
 23   /x2 exch def
 24   /y1 exch def
 25   /x1 exch def
 26   newpath
 27   x1 EU y1 EU moveto
 28   x2 EU y2 EU lineto
 29   lw EU setlinewidth
 30   stroke
 31   } def
 32
 33/h {  % draw a hole
 34   /d  exch def
 35   /y  exch def
 36   /x  exch def
 37   d 0 gt {
 38     newpath
 39     x EU y EU d 2 div EU 0 360 arc
 40     currentgray dup
 41     1 exch sub setgray
 42     fill
 43     setgray
 44     } if
 45   } def
 46
 47/b {  % draw a bar
 48   /an exch def
 49   /y2 exch def
 50   /x2 exch def
 51   /y1 exch def
 52   /x1 exch def
 53   /w2 x2 x1 sub 2 div EU def
 54   /h2 y2 y1 sub 2 div EU def
 55   gsave
 56   x1 x2 add 2 div EU y1 y2 add 2 div EU translate
 57   an rotate
 58   newpath
 59   w2     h2     moveto
 60   w2 neg h2     lineto
 61   w2 neg h2 neg lineto
 62   w2     h2 neg lineto
 63   closepath
 64   fill
 65   grestore
 66   } def
 67
 68/c {  % draw a circle
 69   /lw exch def
 70   /rd exch def
 71   /y  exch def
 72   /x  exch def
 73   newpath
 74   lw EU setlinewidth
 75   x EU y EU rd EU 0 360 arc
 76   stroke
 77   } def
 78
 79/a {  % draw an arc
 80   /lc exch def
 81   /ae exch def
 82   /as exch def
 83   /lw exch def
 84   /rd exch def
 85   /y  exch def
 86   /x  exch def
 87   lw rd 2 mul gt {
 88     /rd rd lw 2 div add 2 div def
 89     /lw rd 2 mul def
 90     } if
 91   currentlinecap currentlinejoin
 92   lc setlinecap 0 setlinejoin
 93   newpath
 94   lw EU setlinewidth
 95   x EU y EU rd EU as ae arc
 96   stroke
 97   setlinejoin setlinecap
 98   } def
 99
100/p {  % draw a pie
101   /d exch def
102   /y exch def
103   /x exch def
104   newpath
105   x EU y EU d 2 div EU 0 360 arc
106   fill
107   } def
108
109/edge { 0.20710678119 mul } def
110
111/o {  % draw an octagon
112   /an exch def
113   /dy exch def
114   /dx exch def
115   /y  exch def
116   /x  exch def
117   gsave
118   x EU y EU translate
119   an dx dy lt { 90 add /dx dy /dy dx def def } if rotate
120   newpath
121      0 dx 2 div sub EU                    0 dy edge  add EU moveto
122      0 dx dy sub 2 div sub dy edge sub EU 0 dy 2 div add EU lineto
123      0 dx dy sub 2 div add dy edge add EU 0 dy 2 div add EU lineto
124      0 dx 2 div add EU                    0 dy edge  add EU lineto
125      0 dx 2 div add EU                    0 dy edge  sub EU lineto
126      0 dx dy sub 2 div add dy edge add EU 0 dy 2 div sub EU lineto
127      0 dx dy sub 2 div sub dy edge sub EU 0 dy 2 div sub EU lineto
128      0 dx 2 div sub EU                    0 dy edge  sub EU lineto
129   closepath
130   fill
131   grestore
132   } def
133
134478820 230114 500804 238598 180.0 b
135478820 253114 500804 261598 180.0 b
136478820 207114 500804 215598 180.0 b
137537820 218614 559804 250098 180.0 b
138521660 123904 533644 132888 270.0 b
139521660 104904 533644 113888 270.0 b
140521660 156904 533644 165888 90.0 b
141521660 175904 533644 184888 90.0 b
142329160 172864 340144 183848 180.0 b
143309160 172864 320144 183848 180.0 b
144242160 167484 253144 178468 180.0 b
145222160 167484 233144 178468 180.0 b
146540200 163704 559184 180688 270.0 b
147540200 131704 559184 148688 270.0 b
148454020 212244 473004 229228 90.0 b
149454020 244244 473004 261228 90.0 b
150152160 169404 163144 180388 180.0 b
151132160 169404 143144 180388 180.0 b