aboutsummaryrefslogblamecommitdiffstats
path: root/lib/tv/doc/src/set_poll_int.ps
blob: cceb30486f862db0135a130babe06e3dd5c47fcf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483


































































































































































































































































































































































































































































































                                                                        
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: (ImageMagick)
%%Title: (./set_poll_int.tmp.eps)
%%CreationDate: (Tue Jun 12 16:08:39 2001)
%%BoundingBox: 0 17 200 154
%%DocumentData: Clean7Bit
%%LanguageLevel: 1
%%Pages: 0
%%EndComments

%%BeginDefaults
%%PageOrientation: Portrait
%%EndDefaults

%%BeginProlog
%
% Display a color image.  The image is displayed in color on
% Postscript viewers or printers that support color, otherwise
% it is displayed as grayscale.
%
/buffer 512 string def
/byte 1 string def
/color_packet 3 string def
/pixels 768 string def

/DirectClassPacket
{
  %
  % Get a DirectClass packet.
  %
  % Parameters:
  %   red.
  %   green.
  %   blue.
  %   length: number of pixels minus one of this color (optional).
  %
  currentfile color_packet readhexstring pop pop
  compression 0 gt
  {
    /number_pixels 3 def
  }
  {
    currentfile byte readhexstring pop 0 get
    /number_pixels exch 1 add 3 mul def
  } ifelse
  0 3 number_pixels 1 sub
  {
    pixels exch color_packet putinterval
  } for
  pixels 0 number_pixels getinterval
} bind def

/DirectClassImage
{
  %
  % Display a DirectClass image.
  %
  systemdict /colorimage known
  {
    columns rows 8
    [
      columns 0 0
      rows neg 0 rows
    ]
    { DirectClassPacket } false 3 colorimage
  }
  {
    %
    % No colorimage operator;  convert to grayscale.
    %
    columns rows 8
    [
      columns 0 0
      rows neg 0 rows
    ]
    { GrayDirectClassPacket } image
  } ifelse
} bind def

/GrayDirectClassPacket
{
  %
  % Get a DirectClass packet;  convert to grayscale.
  %
  % Parameters:
  %   red
  %   green
  %   blue
  %   length: number of pixels minus one of this color (optional).
  %
  currentfile color_packet readhexstring pop pop
  color_packet 0 get 0.299 mul
  color_packet 1 get 0.587 mul add
  color_packet 2 get 0.114 mul add
  cvi
  /gray_packet exch def
  compression 0 gt
  {
    /number_pixels 1 def
  }
  {
    currentfile byte readhexstring pop 0 get
    /number_pixels exch 1 add def
  } ifelse
  0 1 number_pixels 1 sub
  {
    pixels exch gray_packet put
  } for
  pixels 0 number_pixels getinterval
} bind def

/GrayPseudoClassPacket
{
  %
  % Get a PseudoClass packet;  convert to grayscale.
  %
  % Parameters:
  %   index: index into the colormap.
  %   length: number of pixels minus one of this color (optional).
  %
  currentfile byte readhexstring pop 0 get
  /offset exch 3 mul def
  /color_packet colormap offset 3 getinterval def
  color_packet 0 get 0.299 mul
  color_packet 1 get 0.587 mul add
  color_packet 2 get 0.114 mul add
  cvi
  /gray_packet exch def
  compression 0 gt
  {
    /number_pixels 1 def
  }
  {
    currentfile byte readhexstring pop 0 get
    /number_pixels exch 1 add def
  } ifelse
  0 1 number_pixels 1 sub
  {
    pixels exch gray_packet put
  } for
  pixels 0 number_pixels getinterval
} bind def

/PseudoClassPacket
{
  %
  % Get a PseudoClass packet.
  %
  % Parameters:
  %   index: index into the colormap.
  %   length: number of pixels minus one of this color (optional).
  %
  currentfile byte readhexstring pop 0 get
  /offset exch 3 mul def
  /color_packet colormap offset 3 getinterval def
  compression 0 gt
  {
    /number_pixels 3 def
  }
  {
    currentfile byte readhexstring pop 0 get
    /number_pixels exch 1 add 3 mul def
  } ifelse
  0 3 number_pixels 1 sub
  {
    pixels exch color_packet putinterval
  } for
  pixels 0 number_pixels getinterval
} bind def

/PseudoClassImage
{
  %
  % Display a PseudoClass image.
  %
  % Parameters:
  %   class: 0-PseudoClass or 1-Grayscale.
  %
  currentfile buffer readline pop
  token pop /class exch def pop
  class 0 gt
  {
    currentfile buffer readline pop
    token pop /depth exch def pop
    /grays columns 8 add depth sub depth mul 8 idiv string def
    columns rows depth
    [
      columns 0 0
      rows neg 0 rows
    ]
    { currentfile grays readhexstring pop } image
  }
  {
    %
    % Parameters:
    %   colors: number of colors in the colormap.
    %   colormap: red, green, blue color packets.
    %
    currentfile buffer readline pop
    token pop /colors exch def pop
    /colors colors 3 mul def
    /colormap colors string def
    currentfile colormap readhexstring pop pop
    systemdict /colorimage known
    {
      columns rows 8
      [
        columns 0 0
        rows neg 0 rows
      ]
      { PseudoClassPacket } false 3 colorimage
    }
    {
      %
      % No colorimage operator;  convert to grayscale.
      %
      columns rows 8
      [
        columns 0 0
        rows neg 0 rows
      ]
      { GrayPseudoClassPacket } image
    } ifelse
  } ifelse
} bind def

/DisplayImage
{
  %
  % Display a DirectClass or PseudoClass image.
  %
  % Parameters:
  %   x & y translation.
  %   x & y scale.
  %   label pointsize.
  %   image label.
  %   image columns & rows.
  %   class: 0-DirectClass or 1-PseudoClass.
  %   compression: 0-RunlengthEncodedCompression or 1-NoCompression.
  %   hex color packets.
  %
  gsave
  currentfile buffer readline pop
  token pop /x exch def
  token pop /y exch def pop
  x y translate
  currentfile buffer readline pop
  token pop /x exch def
  token pop /y exch def pop
  currentfile buffer readline pop
  token pop /pointsize exch def pop
  /Helvetica findfont pointsize scalefont setfont
  x y scale
  currentfile buffer readline pop
  token pop /columns exch def
  token pop /rows exch def pop
  currentfile buffer readline pop
  token pop /class exch def pop
  currentfile buffer readline pop
  token pop /compression exch def pop
  class 0 gt { PseudoClassImage } { DirectClassImage } ifelse
  grestore
} bind def
%%EndProlog
%%Page:  1 1
%%PageBoundingBox: 0 17 200 154
userdict begin
%%BeginData:
DisplayImage
0 17
200.000000 137.000000
12
315 215
1
0
0
16
ffffff
000000
d8d8d8
c2c2c2
6b6b6b
d9d9d9
828282
aa2455
c3c3c3
000000
000000
000000
000000
000000
000000
000000
000a01ff0124000b0208040001ff012400000208040000000208040002ff022400000208
0400000002080400020000ff0021040002000000020804000000020204060200000004ff
0421020000000405020204000000020204000209000d02ff021800000202040000000202
040002080000020d04000281010102020101023701010254000002020400000002020400
02080000020d040002580103020b010002070104020a01010202010102060101020b0100
02210101025400000202040000000202040002080000020d040002570101020101010209
01010207010102010101020901010202010102060101020a010102210101025400000202
040000000202040002080000020204060203040002570101020601030201010402050101
020101010201010302030101020201010206010102020101020001010201010402010103
020201010200010102000101020101010202010302030101025400000202040000000403
020800000202040003040000020304000257010202040101020101010201010102070101
020101010200010102010101020201010202010102060101020201020200010102010101
020201010201010102010101020001010200010102010101020101010201010102020101
0254000004030101020b0000020304000302000002040400025801030202010102010101
020101010207010102010100020101010201010102020101020201010206010102020101
020101010201010102020101020101010201010202020101020101010205010102020101
02570103020b0000020304000302000002040400025a0102020101050201010102070103
020201010201010102020101020201010206010102020101020101010201010102020105
020101010204010102000100020301040202010102570103020b00000204040003000000
02050400025b010102010101020501010207010102040101020101010202010102020101
020601010202010102010101020101010202010102050101020401010200010002020101
020101010202010102570103020b00000204040003000000020504000257010102010101
020101010202010002010101020701010204010102010101020201010202010102060101
020201010201010102010101020201010202010002010101020501010203010102010101
0202010102570103020b0000020500000206040002580103020301030203010202050101
020501030203010102020101020601010202010102010101020201020201010302020101
0205010102040102020001010201010102570103020b0000020d040002ff021a0103020b
0000020d040002ff021a0103020b0000020d040002ff021a0103020c040d02ff021b0103
02ff0236010302ff02360103020200ff002f0400020201030202000004ff042f02020103
02ff02360103020205ff053002020103020205ff053002020103020205ff053002020103
020205ff053002020103020205ff053002020103020205ff053002020103020205ff0530
02020103020205ff053002020103020205ff053002020103020205ff0530020201030202
05e5003b050e02020103020205e5003a0600050e02020103020205e5000105370601050e
02020103020205e5000105370601050e02020103020205e5000105370601050e02020103
020205e5000105370601050e02020103020205e5000105370601050e02020103020205e5
000105370601050e02020103020205e5000105370601050e020201030202051b000105c7
000105150102050201000502010005160601050e020201030202051a0003050b01000503
0100051e010205090103050a010205030102050501000568000105140100050201000501
01000501010005170601050e02020103020205190005050a010005030100052001000509
010005020100050b010005050100056f0001051401000502010005010100050001000518
0601050e0202010302020518000205010002050901010501010105020102050201000500
010105020100050201000502010205050100050901000502010005020102050501000505
010005030102050201000500010105030101050001000559000105140100050201000501
010105190601050e02020103020205170002050300020508010105010101050101000502
010005010101050101000501010005020100050101000502010005040100050901000502
010005010100050201000504010005050100050501000502010105010100050101000501
0101055900010514010005020100050101000500010005180601050e0202010302020516
000205050002050701000500010105000100050501000501010005020100050101000502
010005050100050401000509010305020100050201000504010005050100050501000502
010005020100050101000502010005590001051401000502010005010100050101000517
0601050e0202010302020515060205070602050601000500010105000100050201030501
010005020100050101000502010005020103050401000509010005050100050201000504
010005050100050501000502010005020100050101000502010005590001051401000502
0100050101000501010005170601050e0202010302020516060205050602050701000503
010005010100050201000501010005020100050101000502010005010100050201000504
010005090100050501000502010005040100050501000505010005020100050201000501
010005020100055900010514010005020100050101000502010005160601050e02020103
020205170602050306020508010005030100050101000502010005010100050201000501
010005010101050101000502010005040100050901000505010005020100050401000505
010005050100050201000502010005010100050101010559000105150102050201000502
010005160601050e02020103020205180602050106020509010005030100050201030501
010005020100050201010500010005020103050401000509010005060102050501000505
010005050100050201000502010005020101050001000559000105370601050e02020103
020205190605056a01000559000105370601050e020201030202051a0603056701000502
01000559000105370601050e020201030202051b060105690102055a000105370601050e
02020103020205e5000105370601050e02020103020205e5000105370601050e02020103
020205e5000105370601050e02020103020205e5000105370601050e02020103020205e5
000105370601050e02020103020205e5000105370601050e02020103020205e500010639
050e02020103020205e50000063a050e02020103020205ff053002020103020205ff0530
02020103020205ff053002020103020205ff053002020103020205ff0530020201030202
05ff053002020103020205ff053002020103020205ff053002020103020205ff05300202
0103020205ff053002020103020205ff053002020103020205ff053002020103020205ff
053002020103020205ff053002020103020205ff053002020103020205ff053002020103
020205ff053002020103020205ff053002020103020205ff053002020103020205ff0530
02020103020205e5003b050e02020103020205e5003a0600050e02020103020205e50001
05370601050e02020103020205e5000105370601050e02020103020205e5000105370601
050e02020103020205e5000105370601050e02020103020205e5000105370601050e0202
0103020205e5000105370601050e02020103020205e5000105370601050e020201030202
051a060105c8000105070102051f010205090601050e02020103020205190603050e0100
050c0100051a01000506010005100103050a010205030102050501000554000105060100
050201000520010005090601050e02020103020205180605050d0100050c0100051a0100
0518010005020100050b010005050100055b000105060100050201000502010205020100
0500010105030102050301020505010005090601050e0202010302020517060207010602
050b01000500010005020100050201000501010405020102050201010500010005030102
050201040502010205030102050901000502010005020102050501000505010005030102
050201000500010105030101050001000545000105060100050501000502010005010101
05010100050101000502010005010100050201000504010005090601050e020201030202
0516060207030602050a0100050001000502010005020100050301000503010005020100
050101000500010005000100050101000502010005030100050601000502010005020100
050801000502010005010100050201000504010005050100050501000502010105010100
050101000501010105450001050601000509010005010100050201000501010005050100
050201000504010005090601050e02020103020205150602070506020509010005000100
050201000502010005030100050301000502010005010100050001000500010005050100
050301000506010005020100050c01030502010005020100050401000505010005050100
050201000502010005010100050201000545000105060100050601030501010005020100
05010100050501040504010005090601050e020201030202051400020707000205070100
050201000501010005020100050301000503010005020100050101000500010005000100
05020103050301000506010005020100050c010005050100050201000504010005050100
050501000502010005020100050101000502010005450001050601000502010005010100
05020100050101000502010005010100050501000508010005090601050e020201030202
051500020705000205080104050101000502010005030100050301000502010005010100
05000100050001000501010005020100050301000506010005020100050c010005050100
050201000504010005050100050501000502010005020100050101000502010005450001
050601000502010005010100050201000501010005020100050101000502010005010100
050201000504010005090601050e02020103020205160002070300020509010005020100
050101000501010105030100050301000502010005010100050001000500010005010100
050201000503010005060100050201000502010005080100050501000502010005040100
050501000505010005020100050201000501010005010101054500010507010205030103
050101000502010005020102050301020505010005090601050e02020103020205170002
07010002050a010005020100050201010500010005040101050201020502010005000100
050001000502010305040101050401000503010205090100050601020505010005050100
05050100050201000502010005020101050001000545000105370601050e020201030202
05180005057f01000545000105370601050e02020103020205190003057c010005020100
0545000105370601050e020201030202051a0001057e01020546000105370601050e0202
0103020205e5000105370601050e02020103020205e5000105370601050e020201030202
05e5000105370601050e02020103020205e5000105370601050e02020103020205e50001
05370601050e02020103020205e5000105370601050e02020103020205e500010639050e
02020103020205e50000063a050e02020103020205ff053002020103020205ff05300202
0103020205ff053002020103020205ff053002020103020205ff053002020103020205ff
053002020103020205ff053002020103020205ff053002020103020205ff053002020103
020205ff053002020103020205ff053002020103020205ff053002020103020205ff0530
02020103020205ff053002020103020205ff053002020103020205ff0530020201030202
05ff053002020103020205ff053002020103020205ff0530020201030202057601000534
0100058202020103020205110103050a01020503010205090104050a010005200102050b
0100052a0100050a010005810202010302020511010005020100050b010005050100050b
0100050c010005220100050b0100052a0100050a01000581020201030202051101000502
0100050201020505010005050100050b0100050301000500010105020104050201020502
01000500010105020100050201000502010205050100050a010005050102050301020503
010205030102050201000500010105030101050001000502010205050100050401010579
020201030202051101000502010005010100050201000504010005050100050b01000503
010105010100050301000503010005020100050101010501010005010100050201000501
01000502010005040100050a010005040100050201000501010005020100050101000502
010005010100050201000501010105010100050101000501010105010100050201000504
01000504010105790202010302020511010305020100050201000504010005050100050b
010005030100050201000503010005030100050201000501010005050100050201000505
010005040100050a01000504010005050100050201000501010005050100050201000501
010005020100050101000502010005010100050801000580020201030202051101000505
0100050201000504010005050100050b0100050301000502010005030100050301040501
010005060100050001000503010305040100050a01000505010205020104050101000505
010005020100050101000502010005010100050201000502010205050100058002020103
02020511010005050100050201000504010005050100050b010005030100050201000503
010005030100050501000506010005000100050201000502010005040100050a01000508
010005010100050501000505010005020100050101000502010005010100050201000505
01000504010005800202010302020511010005050100050201000504010005050100050b
010005030100050201000503010005030100050201000501010005070100050301000502
010005040100050b01000503010005020100050101000502010005010100050201000501
010005020100050101000502010005010100050101010501010005020100050301000505
010105790202010302020511010005060102050501000505010005090104050101000502
0100050401010502010205020100050701000504010305040100050b0100050401020503
010205030102050301020502010005020100050201010500010005020102050401000505
010105790202010302020576010005340100058202020103020205ff0530020201030202
05ff053002020103020205ff053002020103020205ff053002020103020205ff05300202
0103020205ff053002020103020205ff053002020103020205ff053002020103020205ff
053002020103020205ff053002020103020205ff053002020103020205ff053002020103
020205ff053002020103020205ff053002020103020205ff053002020103020205ff0530
02020103020205ff053002020103020205ff0530020201030202056f0100050401020504
010105b0020201030202056e01010503010005020100050201000501010005af02020103
0202056d01000500010005070100050201000501010005af020201030202056f01000507
0100050201000501010005af020201030202056f010005060100050301000501010005af
020201030202056f010005050100050401000501010005af020201030202056f01000504
0100050501000501010005af020201030202056f010005030100050601000501010005af
020201030202056d0104050101040503010105b002020103020205ff0530020201030202
05ff053002020103020205ff053002020103020205ff053002020103020205ff05300202
01030202050d06ff0614050d020201030202050d06ff06130000050d020201030202050d
06010856001d089b0001050d020201030202050d06010856001c0600089b0001050d0202
01030202050d060108560001050b06000000050b0601089b0001050d020201030202050d
060108560001050b06000000050b0601089b0001050d020201030202050d060108560001
050b06000000050b0601089b0001050d020201030202050d060108560001050b06000000
050b0601089b0001050d020201030202050d060108560001050b06000000050b0601089b
0001050d020201030202050d060108560001050b06000000050b0601089b0001050d0202
01030202050d060108560001050b06000000050b0601089b0001050d020201030202050d
060108560001050b06000000050b0601089b0001050d020201030202050d060108560001
050b06000000050b0601089b0001050d020201030202050d060108560001050b06000000
050b0601089b0001050d020201030202050d060108560001050b06000000050b0601089b
0001050d020201030202050d060108560001060c0000060d089b0001050d020201030202
050d060108560000061c089b0001050d020201030202050d060100ff0012050d02020103
0202050d060000ff0013050d02020103020205ff053002020103020205ff053002020103
020205ff053002020103020205ff053002020103020205ff053002020103020205ff0530
02020103020205ff053002020103020205ff053002020101000405ff0530000502020400
05ff053000000202040000000202040005ff053000000202040000000202040005ff0530
00000202040000000202040005ff053000000202040000000202040005ff053000000202
0400000002020400000502ff022400060202040000000208040002ff0224000002080400
00000208040002ff022400000208040000000208040001ff012400000208040000000409
01ff012400000409
%%EndData
end
%%PageTrailer
%%Trailer
%%BoundingBox: 0 17 200 154
%%EOF