Plan 9 from Bell Labs’s /usr/web/sources/contrib/maht/limbo/appl/lib/ppm.sbl

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


limbo .sbl 2.1
Images
5
ppm.b
draw.m
sys.m
bufio.m
ppm.m
152
22.1,28 0
23.1,25 1
24.1,31 2
25.0,1 3
30.8,124 4
18,23 4
25,31 4
33,34 4
36,39 4
41,42 4
44,111 4
48,111 4
61,66 4
68,74 4
83,97 4
83,101 4
76,110 4
44,111 4
44,111 5
113,118 4
120,123 4
8,124 4
8,124 6
1,124 4
35.1,47 7
19,27 7
29,40 7
42,46 7
1,47 7
1,47 7
36.4,13 8
15,41 9
38.6,20 10
6,20 10
40.10,47 11
10,47 11
40,41 11
21,28 11
30,38 11
43,46 11
10,47 11
10,47 11
3,47 11
3,47 12
41.3,31 13
14,16 13
18,21 13
23,30 13
3,31 13
3,31 13
42.3,26 14
43.3,33 15
45.3,8 16
46.7,13 17
15,27 18
47.4,9 19
48.8,14 20
16,27 21
49.9,12 22
9,12 22
5,13 22
26,29 22
16,30 22
5,30 22
50.9,12 23
9,12 23
5,13 23
26,29 23
16,30 23
5,30 23
51.9,12 24
9,12 24
5,13 24
16,28 24
5,28 24
52.5,9 25
48.29,32 26
29,32 26
54.4,33 27
15,17 27
19,22 27
24,32 27
4,33 27
4,33 27
46.29,32 28
29,32 28
29,32 29
29,32 30
59.0,1 31
57.3,37 32
63.8,57 33
8,57 33
38,46 33
19,26 33
28,36 33
48,56 33
8,57 33
8,57 33
1,57 33
1,57 34
64.20,27 35
1,27 35
65.1,39 36
18,26 36
28,38 36
1,39 36
1,39 36
66.8,12 37
1,12 37
71.1,13 38
72.1,15 39
73.7,13 40
74.2,11 41
75.2,10 42
2,10 42
78.1,17 43
80.10,25 44
28,35 44
10,35 44
38,53 44
1,53 44
81.1,17 45
83.23,34 46
37,46 46
23,46 46
8,20 46
1,46 46
84.1,37 47
11,15 47
17,20 47
22,36 47
1,37 47
1,37 47
86.1,29 48
87.4,15 49
88.6,12 50
14,25 51
89.3,8 52
11,19 52
3,32 52
90.3,10 53
88.27,30 54
27,30 54
93.2,7 55
2,16 55
96.8,36 56
19,23 56
25,27 56
29,35 56
8,36 56
8,36 56
1,36 56
15
aDraw->Chans 1:70.1,82.2 4
1
0:desc:72.2,6 i
aSys->Dir 2:26.1,39.2 64
11
0:name:28.2,6 s
4:uid:29.2,5 s
8:gid:30.2,5 s
12:muid:31.2,6 s
16:qid:32.2,5 @2

32:mode:33.2,6 i
36:atime:34.2,7 i
40:mtime:35.2,7 i
48:length:36.2,8 B
56:dtype:37.2,7 i
60:dev:38.2,5 i
aSys->Qid 11.1,16.2 16
3
0:path:13.2,6 B
8:vers:14.2,6 i
12:qtype:15.2,7 i
aDraw->Context 1:274.1,279.2 12
3
0:display:276.2,9 R@4

4:screen:277.2,8 R@8

8:wm:278.2,4 Ct8.2
0:t0:15,21 s
4:t1:15,21 Ct8.2
0:t0:32,38 s
4:t1:32,38 R@9



aDraw->Display 201.1,230.2 20
5
0:image:203.2,7 R@5

4:white:204.2,7 R@5

8:black:205.2,7 R@5

12:opaque:206.2,8 R@5

16:transparent:207.2,13 R@5

aDraw->Image 142.1,198.2 56
8
0:r:146.2,3 @6

16:clipr:147.2,7 @6

32:depth:148.2,7 i
36:chans:149.2,7 @0

40:repl:150.2,6 i
44:display:151.2,9 R@4

48:screen:152.2,8 R@8

52:iname:153.2,7 s
aDraw->Rect 116.1,139.2 16
2
0:min:118.2,5 @7

8:max:119.2,5 @7

aDraw->Point 99.1,113.2 8
2
0:x:101.2,3 i
4:y:102.2,3 i
aDraw->Screen 249.1,263.2 16
4
0:id:251.2,4 i
4:image:252.2,7 R@5

8:fill:253.2,6 R@5

12:display:254.2,9 R@4

aDraw->Wmcontext 282.1,291.2 28
7
0:kbd:284.2,5 Ci
4:ptr:285.2,5 CR@10

8:ctl:286.2,5 Cs
12:wctl:287.2,6 Cs
16:images:288.2,8 CR@5

20:connfd:289.2,8 R@11

24:ctxt:290.2,6 R@3

aDraw->Pointer 266.1,271.2 16
3
0:buttons:268.2,9 i
4:xy:269.2,4 @7

12:msec:270.2,6 i
aSys->FD 2:45.1,48.2 4
1
0:fd:47.2,4 i
aImage 4:24.1,33.2 40
8
0:width:25.2,7 i
4:height:9,15 i
8:format:17,23 i
12:maxval:25,31 i
16:numchannels:33,44 i
20:bitmap:26.2,8 R@13

24:dataoffset:27.2,12 B
32:fd:28.2,4 R@11

pBitmap 12.1,22.2 0
2
4:width:13.2,7 i
8:height:9,15 i
3
bit8:15.2,6 16
1
12:pixels:16.3,9 Ab
bit16:17.2,7 16
1
12:pixels:18.3,9 Ai
rgba8:19.2,7 16
1
12:pixels:20.3,9 Ab
aPixel 8.1,10.2 12
3
0:r:9.3,4 i
4:g:6,7 i
8:b:9,10 i
5
0:init
0
0
n4:new_rgba8
2
32:width:0:28.10,15 i
36:height:17,23 i
0
R@12
24:create_ppm
2
32:i:33.11,12 R@12

36:filename:26,34 s
9
40:bm:38.6,8 R@13

44:j:44.3,4 i
48:rgb:43.3,6 Ab
52:fd:35.1,3 R@11

56:k:44.6,7 i
60:hdr:40.3,6 Ab
64:rowbytes:42.3,11 i
68:x:48.8,9 i
72:y:46.7,8 i
n90:Image.open_ppm
2
32:f:61.15,16 R@12

36:filename:35,43 s
1
40:hdr:63.1,4 Ab
R@11
109:Image.write_to_ppm_pixel
5
32:f:69.25,26 R@12

36:x:45,46 i
40:y:48,49 i
44:v:51,52 i
48:channel:54,61 i
7
56:bytespp:71.1,8 i
60:vb:86.1,3 Ab
64:i:88.6,7 i
68:mv:72.1,3 i
72:numchannels:78.1,12 i
76:pixel:80.1,6 i
104:pos:83.1,4 B
i3
48:bufio:9.1,6 mBufio
3:1.0,57.1 0

56:draw:0:3.1,5 mDraw
1:1.0,298.1 0

68:sys:0:6.1,4 mSys
2:4.0,160.1 0


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].