Debian Codegraph @

tests/windows/structs.ps

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