Debian Codegraph @

tests/share/structs.ps

raw
1 %!PS-Adobe-2.0
2 %%Creator: dot version 2.9.20060407.0440 (Fri Apr 7 07:41:14 GMT 2006)
3 %%For: (ellson) John Ellson,[north]
4 %%Title: structs
5 %%Pages: (atend)
6 %%BoundingBox: (atend)
7 %%EndComments
8 save
9 %%BeginProlog
10 /DotDict 200 dict def
11 DotDict begin
12
13 /setupLatin1 {
14 mark
15 /EncodingVector 256 array def
16 EncodingVector 0
17
18 ISOLatin1Encoding 0 255 getinterval putinterval
19 EncodingVector 45 /hyphen put
20
21 % Set up ISO Latin 1 character encoding
22 /starnetISO {
23 dup dup findfont dup length dict begin
24 { 1 index /FID ne { def }{ pop pop } ifelse
25 } forall
26 /Encoding EncodingVector def
27 currentdict end definefont
28 } def
29 /Times-Roman starnetISO def
30 /Times-Italic starnetISO def
31 /Times-Bold starnetISO def
32 /Times-BoldItalic starnetISO def
33 /Helvetica starnetISO def
34 /Helvetica-Oblique starnetISO def
35 /Helvetica-Bold starnetISO def
36 /Helvetica-BoldOblique starnetISO def
37 /Courier starnetISO def
38 /Courier-Oblique starnetISO def
39 /Courier-Bold starnetISO def
40 /Courier-BoldOblique starnetISO def
41 cleartomark
42 } bind def
43
44 %%BeginResource: procset graphviz 0 0
45 /coord-font-family /Times-Roman def
46 /default-font-family /Times-Roman def
47 /coordfont coord-font-family findfont 8 scalefont def
48
49 /InvScaleFactor 1.0 def
50 /set_scale {
51 dup 1 exch div /InvScaleFactor exch def
52 dup scale
53 } bind def
54
55 % styles
56 /solid { [] 0 setdash } bind def
57 /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def
58 /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def
59 /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def
60 /bold { 2 setlinewidth } bind def
61 /filled { } bind def
62 /unfilled { } bind def
63 /rounded { } bind def
64 /diagonals { } bind def
65
66 % hooks for setting color
67 /nodecolor { sethsbcolor } bind def
68 /edgecolor { sethsbcolor } bind def
69 /graphcolor { sethsbcolor } bind def
70 /nopcolor {pop pop pop} bind def
71
72 /beginpage { % i j npages
73 /npages exch def
74 /j exch def
75 /i exch def
76 /str 10 string def
77 npages 1 gt {
78 gsave
79 coordfont setfont
80 0 0 moveto
81 (\() show i str cvs show (,) show j str cvs show (\)) show
82 grestore
83 } if
84 } bind def
85
86 /set_font {
87 findfont exch
88 scalefont setfont
89 } def
90
91 % draw aligned label in bounding box aligned to current point
92 /alignedtext { % width adj text
93 /text exch def
94 /adj exch def
95 /width exch def
96 gsave
97 width 0 gt {
98 text stringwidth pop adj mul 0 rmoveto
99 } if
100 [] 0 setdash
101 text show
102 grestore
103 } def
104
105 /boxprim { % xcorner ycorner xsize ysize
106 4 2 roll
107 moveto
108 2 copy
109 exch 0 rlineto
110 0 exch rlineto
111 pop neg 0 rlineto
112 closepath
113 } bind def
114
115 /ellipse_path {
116 /ry exch def
117 /rx exch def
118 /y exch def
119 /x exch def
120 matrix currentmatrix
121 newpath
122 x y translate
123 rx ry scale
124 0 0 1 0 360 arc
125 setmatrix
126 } bind def
127
128 /endpage { showpage } bind def
129 /showpage { } def
130
131 /layercolorseq
132 [ % layer color sequence - darkest to lightest
133 [0 0 0]
134 [.2 .8 .8]
135 [.4 .8 .8]
136 [.6 .8 .8]
137 [.8 .8 .8]
138 ]
139 def
140
141 /layerlen layercolorseq length def
142
143 /setlayer {/maxlayer exch def /curlayer exch def
144 layercolorseq curlayer 1 sub layerlen mod get
145 aload pop sethsbcolor
146 /nodecolor {nopcolor} def
147 /edgecolor {nopcolor} def
148 /graphcolor {nopcolor} def
149 } bind def
150
151 /onlayer { curlayer ne {invis} if } def
152
153 /onlayers {
154 /myupper exch def
155 /mylower exch def
156 curlayer mylower lt
157 curlayer myupper gt
158 or
159 {invis} if
160 } def
161
162 /curlayer 0 def
163
164 %%EndResource
165 %%EndProlog
166 %%BeginSetup
167 14 default-font-family set_font
168 1 setmiterlimit
169 % /arrowlength 10 def
170 % /arrowwidth 5 def
171
172 % make sure pdfmark is harmless for PS-interpreters other than Distiller
173 /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse
174 % make '<<' and '>>' safe on PS Level 1 devices
175 /languagelevel where {pop languagelevel}{1} ifelse
176 2 lt {
177 userdict (<<) cvn ([) cvn load put
178 userdict (>>) cvn ([) cvn load put
179 } if
180
181 %%EndSetup
182 %%Page: 1 1
183 %%PageBoundingBox: 36 36 304 188
184 %%PageOrientation: Portrait
185 gsave
186 36 36 304 188 boxprim clip newpath
187 36 36 translate
188 0 0 1 beginpage
189 1.0000 set_scale
190 4 4 translate 0 rotate
191 0.000 0.000 1.000 graphcolor
192 0.000 0.000 1.000 graphcolor
193 newpath -6 -6 moveto
194 -6 150 lineto
195 266 150 lineto
196 266 -6 lineto
197 closepath
198 fill
199 0.000 0.000 1.000 graphcolor
200 newpath -6 -6 moveto
201 -6 150 lineto
202 266 150 lineto
203 266 -6 lineto
204 closepath
205 stroke
206 0.000 0.000 0.000 graphcolor
207 14.00 /Times-Roman set_font
208 % struct1
209 gsave 10 dict begin
210 newpath 10 108 moveto
211 144 108 lineto
212 144 144 lineto
213 10 144 lineto
214 closepath
215 stroke
216 gsave 10 dict begin
217 17 123 moveto
218 (left)
219 [3.84 6.24 4.8 3.84]
220 xshow
221 end grestore
222 newpath 45 108 moveto
223 45 144 lineto
224 stroke
225 gsave 10 dict begin
226 52 123 moveto
227 (middle)
228 [10.8 3.84 6.96 6.96 3.84 6.24]
229 xshow
230 end grestore
231 newpath 100 108 moveto
232 100 144 lineto
233 stroke
234 gsave 10 dict begin
235 108 123 moveto
236 (right)
237 [5.04 3.84 6.96 6.96 3.84]
238 xshow
239 end grestore
240 end grestore
241 % struct2
242 gsave 10 dict begin
243 newpath 0 18 moveto
244 75 18 lineto
245 75 54 lineto
246 0 54 lineto
247 closepath
248 stroke
249 gsave 10 dict begin
250 7 33 moveto
251 (one)
252 [6.96 6.96 6.24]
253 xshow
254 end grestore
255 newpath 37 18 moveto
256 37 54 lineto
257 stroke
258 gsave 10 dict begin
259 45 33 moveto
260 (two)
261 [3.84 9.6 6.96]
262 xshow
263 end grestore
264 end grestore
265 % struct1->struct2
266 newpath 62 108 moveto
267 54 95 43 77 35 63 curveto
268 stroke
269 gsave 10 dict begin
270 solid
271 1 setlinewidth
272 0.000 0.000 0.000 edgecolor
273 newpath 38 61 moveto
274 30 54 lineto
275 32 64 lineto
276 closepath
277 fill
278 0.000 0.000 0.000 edgecolor
279 newpath 38 61 moveto
280 30 54 lineto
281 32 64 lineto
282 closepath
283 stroke
284 end grestore
285 % struct3
286 gsave 10 dict begin
287 newpath 92 0 moveto
288 260 0 lineto
289 260 72 lineto
290 92 72 lineto
291 closepath
292 stroke
293 gsave 10 dict begin
294 101 41 moveto
295 (hello)
296 [6.96 6.24 3.84 3.84 6.96]
297 xshow
298 99 25 moveto
299 (world)
300 [9.6 6.96 4.56 3.84 6.96]
301 xshow
302 end grestore
303 newpath 141 0 moveto
304 141 72 lineto
305 stroke
306 gsave 10 dict begin
307 176 57 moveto 9.0 -0.5 (b) alignedtext
308 end grestore
309 newpath 141 48 moveto
310 211 48 lineto
311 stroke
312 gsave 10 dict begin
313 152 33 moveto 7.0 -0.5 (c) alignedtext
314 end grestore
315 newpath 164 24 moveto
316 164 48 lineto
317 stroke
318 gsave 10 dict begin
319 176 33 moveto 8.0 -0.5 (d) alignedtext
320 end grestore
321 newpath 188 24 moveto
322 188 48 lineto
323 stroke
324 gsave 10 dict begin
325 199 33 moveto 7.0 -0.5 (e) alignedtext
326 end grestore
327 newpath 141 24 moveto
328 211 24 lineto
329 stroke
330 gsave 10 dict begin
331 176 9 moveto 5.0 -0.5 (f) alignedtext
332 end grestore
333 newpath 211 0 moveto
334 211 72 lineto
335 stroke
336 gsave 10 dict begin
337 223 33 moveto 8.0 -0.5 (g) alignedtext
338 end grestore
339 newpath 235 0 moveto
340 235 72 lineto
341 stroke
342 gsave 10 dict begin
343 247 33 moveto 9.0 -0.5 (h) alignedtext
344 end grestore
345 end grestore
346 % struct1->struct3
347 newpath 133 108 moveto
348 142 93 155 72 164 57 curveto
349 stroke
350 gsave 10 dict begin
351 solid
352 1 setlinewidth
353 0.000 0.000 0.000 edgecolor
354 newpath 167 58 moveto
355 169 48 lineto
356 161 55 lineto
357 closepath
358 fill
359 0.000 0.000 0.000 edgecolor
360 newpath 167 58 moveto
361 169 48 lineto
362 161 55 lineto
363 closepath
364 stroke
365 end grestore
366 endpage
367 showpage
368 grestore
369 %%PageTrailer
370 %%EndPage: 1
371 %%Trailer
372 %%Pages: 1
373 %%BoundingBox: 36 36 304 188
374 end
375 restore
376 %%EOF