Debian Codegraph @

tests/nshare/html_dot.ps

raw
1 %!PS-Adobe-3.0
2 %%Creator: graphviz version 2.44.1 (20200629.0800)
3 %%Title: structs
4 %%Pages: (atend)
5 %%BoundingBox: (atend)
6 %%EndComments
7 save
8 %%BeginProlog
9 /DotDict 200 dict def
10 DotDict begin
11
12 /setupLatin1 {
13 mark
14 /EncodingVector 256 array def
15 EncodingVector 0
16
17 ISOLatin1Encoding 0 255 getinterval putinterval
18 EncodingVector 45 /hyphen put
19
20 % Set up ISO Latin 1 character encoding
21 /starnetISO {
22 dup dup findfont dup length dict begin
23 { 1 index /FID ne { def }{ pop pop } ifelse
24 } forall
25 /Encoding EncodingVector def
26 currentdict end definefont
27 } def
28 /Times-Roman starnetISO def
29 /Times-Italic starnetISO def
30 /Times-Bold starnetISO def
31 /Times-BoldItalic starnetISO def
32 /Helvetica starnetISO def
33 /Helvetica-Oblique starnetISO def
34 /Helvetica-Bold starnetISO def
35 /Helvetica-BoldOblique starnetISO def
36 /Courier starnetISO def
37 /Courier-Oblique starnetISO def
38 /Courier-Bold starnetISO def
39 /Courier-BoldOblique starnetISO def
40 cleartomark
41 } bind def
42
43 %%BeginResource: procset graphviz 0 0
44 /coord-font-family /Times-Roman def
45 /default-font-family /Times-Roman def
46 /coordfont coord-font-family findfont 8 scalefont def
47
48 /InvScaleFactor 1.0 def
49 /set_scale {
50 dup 1 exch div /InvScaleFactor exch def
51 scale
52 } bind def
53
54 % styles
55 /solid { [] 0 setdash } bind def
56 /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def
57 /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def
58 /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def
59 /bold { 2 setlinewidth } bind def
60 /filled { } bind def
61 /unfilled { } bind def
62 /rounded { } bind def
63 /diagonals { } bind def
64 /tapered { } 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 text fitted to its expected width
92 /alignedtext { % width text
93 /text exch def
94 /width exch def
95 gsave
96 width 0 gt {
97 [] 0 setdash
98 text stringwidth pop width exch sub text length div 0 text ashow
99 } if
100 grestore
101 } def
102
103 /boxprim { % xcorner ycorner xsize ysize
104 4 2 roll
105 moveto
106 2 copy
107 exch 0 rlineto
108 0 exch rlineto
109 pop neg 0 rlineto
110 closepath
111 } bind def
112
113 /ellipse_path {
114 /ry exch def
115 /rx exch def
116 /y exch def
117 /x exch def
118 matrix currentmatrix
119 newpath
120 x y translate
121 rx ry scale
122 0 0 1 0 360 arc
123 setmatrix
124 } bind def
125
126 /endpage { showpage } bind def
127 /showpage { } def
128
129 /layercolorseq
130 [ % layer color sequence - darkest to lightest
131 [0 0 0]
132 [.2 .8 .8]
133 [.4 .8 .8]
134 [.6 .8 .8]
135 [.8 .8 .8]
136 ]
137 def
138
139 /layerlen layercolorseq length def
140
141 /setlayer {/maxlayer exch def /curlayer exch def
142 layercolorseq curlayer 1 sub layerlen mod get
143 aload pop sethsbcolor
144 /nodecolor {nopcolor} def
145 /edgecolor {nopcolor} def
146 /graphcolor {nopcolor} def
147 } bind def
148
149 /onlayer { curlayer ne {invis} if } def
150
151 /onlayers {
152 /myupper exch def
153 /mylower exch def
154 curlayer mylower lt
155 curlayer myupper gt
156 or
157 {invis} if
158 } def
159
160 /curlayer 0 def
161
162 %%EndResource
163 %%EndProlog
164 %%BeginSetup
165 14 default-font-family set_font
166 % /arrowlength 10 def
167 % /arrowwidth 5 def
168
169 % make sure pdfmark is harmless for PS-interpreters other than Distiller
170 /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse
171 % make '<<' and '>>' safe on PS Level 1 devices
172 /languagelevel where {pop languagelevel}{1} ifelse
173 2 lt {
174 userdict (<<) cvn ([) cvn load put
175 userdict (>>) cvn ([) cvn load put
176 } if
177
178 %%EndSetup
179 setupLatin1
180 %%Page: 1 1
181 %%PageBoundingBox: 36 36 278 199
182 %%PageOrientation: Portrait
183 0 0 1 beginpage
184 gsave
185 36 36 242 163 boxprim clip newpath
186 1 1 set_scale 0 rotate 40 40 translate
187 % struct1
188 gsave
189 1 setlinewidth
190 solid
191 0 0 0 nodecolor
192 newpath 25.5 126 moveto
193 25.5 147 lineto
194 49.5 147 lineto
195 49.5 126 lineto
196 closepath stroke
197 0 0 0 nodecolor
198 14 /Times-Roman set_font
199 28.5 132.8 moveto 18 (left) alignedtext
200 1 setlinewidth
201 solid
202 0 0 0 nodecolor
203 newpath 49.5 126 moveto
204 49.5 147 lineto
205 97.5 147 lineto
206 97.5 126 lineto
207 closepath stroke
208 0 0 0 nodecolor
209 14 /Times-Roman set_font
210 52.5 132.8 moveto 42 (mid dle) alignedtext
211 1 setlinewidth
212 solid
213 0 0 0 nodecolor
214 newpath 97.5 126 moveto
215 97.5 147 lineto
216 128.5 147 lineto
217 128.5 126 lineto
218 closepath stroke
219 0 0 0 nodecolor
220 14 /Times-Roman set_font
221 100.5 132.8 moveto 25 (right) alignedtext
222 grestore
223 % struct2
224 gsave
225 1 setlinewidth
226 solid
227 0 0 0 nodecolor
228 newpath 8.5 30.5 moveto
229 8.5 51.5 lineto
230 35.5 51.5 lineto
231 35.5 30.5 lineto
232 closepath stroke
233 0 0 0 nodecolor
234 14 /Times-Roman set_font
235 11.5 37.3 moveto 21 (one) alignedtext
236 1 setlinewidth
237 solid
238 0 0 0 nodecolor
239 newpath 35.5 30.5 moveto
240 35.5 51.5 lineto
241 63.5 51.5 lineto
242 63.5 30.5 lineto
243 closepath stroke
244 0 0 0 nodecolor
245 14 /Times-Roman set_font
246 38.5 37.3 moveto 22 (two) alignedtext
247 grestore
248 % struct1->struct2
249 gsave
250 1 setlinewidth
251 0 0 0 edgecolor
252 newpath 73.5 125 moveto
253 73.5 89.0641 30.793 91.2855 22.7854 62.5041 curveto
254 stroke
255 0 0 0 edgecolor
256 newpath 26.246 61.9724 moveto
257 21.5 52.5 lineto
258 19.303 62.8645 lineto
259 closepath fill
260 1 setlinewidth
261 solid
262 0 0 0 edgecolor
263 newpath 26.246 61.9724 moveto
264 21.5 52.5 lineto
265 19.303 62.8645 lineto
266 closepath stroke
267 grestore
268 % struct3
269 gsave
270 1 setlinewidth
271 solid
272 0 0 0 nodecolor
273 newpath 97.5 3.5 moveto
274 97.5 78.5 lineto
275 140.5 78.5 lineto
276 140.5 3.5 lineto
277 closepath stroke
278 0 0 0 nodecolor
279 14 /Times-Roman set_font
280 105.5 44.8 moveto 27 (hello) alignedtext
281 0 0 0 nodecolor
282 14 /Times-Roman set_font
283 102.5 29.8 moveto 33 (world) alignedtext
284 1 setlinewidth
285 solid
286 0 0 0 nodecolor
287 newpath 140.5 53.5 moveto
288 140.5 78.5 lineto
289 192.5 78.5 lineto
290 192.5 53.5 lineto
291 closepath stroke
292 0 0 0 nodecolor
293 14 /Times-Roman set_font
294 162.5 62.3 moveto 8 (b) alignedtext
295 1 setlinewidth
296 solid
297 0 0 0 nodecolor
298 newpath 192.5 3.5 moveto
299 192.5 78.5 lineto
300 209.5 78.5 lineto
301 209.5 3.5 lineto
302 closepath stroke
303 0 0 0 nodecolor
304 14 /Times-Roman set_font
305 197.5 37.3 moveto 7 (g) alignedtext
306 1 setlinewidth
307 solid
308 0 0 0 nodecolor
309 newpath 209.5 3.5 moveto
310 209.5 78.5 lineto
311 226.5 78.5 lineto
312 226.5 3.5 lineto
313 closepath stroke
314 0 0 0 nodecolor
315 14 /Times-Roman set_font
316 214.5 37.3 moveto 7 (h) alignedtext
317 1 setlinewidth
318 solid
319 0 0 0 nodecolor
320 newpath 140.5 28.5 moveto
321 140.5 53.5 lineto
322 157.5 53.5 lineto
323 157.5 28.5 lineto
324 closepath stroke
325 0 0 0 nodecolor
326 14 /Times-Roman set_font
327 145.5 37.3 moveto 7 (c) alignedtext
328 1 setlinewidth
329 solid
330 0 0 0 nodecolor
331 newpath 157.5 28.5 moveto
332 157.5 53.5 lineto
333 175.5 53.5 lineto
334 175.5 28.5 lineto
335 closepath stroke
336 0 0 0 nodecolor
337 14 /Times-Roman set_font
338 162.5 37.3 moveto 8 (d) alignedtext
339 1 setlinewidth
340 solid
341 0 0 0 nodecolor
342 newpath 175.5 28.5 moveto
343 175.5 53.5 lineto
344 192.5 53.5 lineto
345 192.5 28.5 lineto
346 closepath stroke
347 0 0 0 nodecolor
348 14 /Times-Roman set_font
349 180.5 37.3 moveto 7 (e) alignedtext
350 1 setlinewidth
351 solid
352 0 0 0 nodecolor
353 newpath 140.5 3.5 moveto
354 140.5 28.5 lineto
355 192.5 28.5 lineto
356 192.5 3.5 lineto
357 closepath stroke
358 0 0 0 nodecolor
359 14 /Times-Roman set_font
360 164 12.3 moveto 5 (f) alignedtext
361 grestore
362 % struct1->struct3
363 gsave
364 1 setlinewidth
365 0 0 0 edgecolor
366 newpath 113.5 125 moveto
367 113.5 97.5116 134.2274 71.7484 149.7578 56.3029 curveto
368 stroke
369 0 0 0 edgecolor
370 newpath 152.3998 58.622 moveto
371 157.2681 49.2119 lineto
372 147.5941 53.5322 lineto
373 closepath fill
374 1 setlinewidth
375 solid
376 0 0 0 edgecolor
377 newpath 152.3998 58.622 moveto
378 157.2681 49.2119 lineto
379 147.5941 53.5322 lineto
380 closepath stroke
381 grestore
382 endpage
383 showpage
384 grestore
385 %%PageTrailer
386 %%EndPage: 1
387 %%Trailer
388 %%Pages: 1
389 %%BoundingBox: 36 36 278 199
390 end
391 restore
392 %%EOF