/usr/share/doc/racket/picturing-programs/blueboxes.rktd is in racket-doc 6.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | 2451
((3) 0 () 4 ((q lib "picturing-programs/private/map-image.rkt") (q lib "picturing-programs/private/tiles.rkt") (q lib "picturing-programs/private/book-pictures.rkt") (q lib "picturing-programs/private/io-stuff.rkt")) () (h ! (equal) ((c def c (c (? . 1) q reflect-other-diag)) q (932 . 3)) ((c def c (c (? . 0) q build-image)) q (1694 . 5)) ((c def c (c (? . 0) q build-image/extra)) q (1870 . 6)) ((c def c (c (? . 1) q reflect-main-diag)) q (866 . 3)) ((c def c (c (? . 3) q with-io-strings)) q (6323 . 4)) ((c def c (c (? . 0) q map3-image)) q (4568 . 9)) ((c def c (c (? . 1) q crop-left)) q (429 . 4)) ((c def c (c (? . 2) q pic:bloch)) q (999 . 2)) ((c def c (c (? . 2) q pic:calendar)) q (1182 . 2)) ((c def c (c (? . 0) q real->int)) q (5752 . 3)) ((c def c (c (? . 0) q get-pixel-color)) q (1570 . 5)) ((c def c (c (? . 0) q colorize)) q (1309 . 3)) ((c def c (c (? . 1) q rotate-ccw)) q (114 . 3)) ((c def c (c (? . 0) q fold-image/extra)) q (5400 . 11)) ((c def c (c (? . 3) q with-input-from-url)) q (6222 . 4)) ((c def c (c (? . 1) q rotate-cw)) q (56 . 3)) ((c def c (c (? . 0) q map4-image)) q (3770 . 11)) ((c def c (c (? . 0) q name->color)) q (1212 . 3)) ((q def ((lib "picturing-programs/main.rkt") show-it)) q (0 . 3)) ((c def c (c (? . 1) q crop-right)) q (527 . 4)) ((c def c (c (? . 2) q pic:stick-figure)) q (1115 . 2)) ((c def c (c (? . 1) q reflect-horiz)) q (804 . 3)) ((c def c (c (? . 1) q flip-other)) q (684 . 3)) ((c def c (c (? . 0) q map-image)) q (3268 . 7)) ((c def c (c (? . 0) q build3-image)) q (2750 . 11)) ((c def c (c (? . 0) q fold-image)) q (5128 . 9)) ((c def c (c (? . 1) q reflect-vert)) q (743 . 3)) ((c def c (c (? . 3) q with-input-from-file)) q (5999 . 4)) ((c def c (c (? . 3) q with-input-from-string)) q (5811 . 4)) ((c def c (c (? . 3) q with-output-to-file)) q (6111 . 4)) ((c def c (c (? . 2) q pic:book)) q (1089 . 2)) ((c def c (c (? . 1) q crop-bottom)) q (329 . 4)) ((c def c (c (? . 0) q map-image/extra)) q (3480 . 9)) ((c def c (c (? . 1) q flip-main)) q (626 . 3)) ((c def c (c (? . 0) q color=?)) q (1422 . 4)) ((c def c (c (? . 0) q build4-image)) q (2086 . 14)) ((c def c (c (? . 2) q pic:hacker)) q (1061 . 2)) ((c def c (c (? . 1) q crop-top)) q (232 . 4)) ((c def c (c (? . 3) q with-output-to-string)) q (5919 . 3)) ((c def c (c (? . 2) q pic:hieroglyphics)) q (1026 . 2)) ((c def c (c (? . 2) q pic:scheme-logo)) q (1149 . 2)) ((c def c (c (? . 1) q rotate-180)) q (173 . 3))))
procedure
(show-it img) -> image?
img : image?
procedure
(rotate-cw img) -> image?
img : image?
procedure
(rotate-ccw img) -> image?
img : image?
procedure
(rotate-180 img) -> image?
img : image?
procedure
(crop-top img pixels) -> image?
img : image?
pixels : natural-number/c
procedure
(crop-bottom img pixels) -> image?
img : image?
pixels : natural-number/c
procedure
(crop-left img pixels) -> image?
img : image?
pixels : natural-number/c
procedure
(crop-right img pixels) -> image?
img : image?
pixels : natural-number/c
procedure
(flip-main img) -> image?
img : image?
procedure
(flip-other img) -> image?
img : image?
procedure
(reflect-vert img) -> image?
img : image?
procedure
(reflect-horiz img) -> image?
img : image?
procedure
(reflect-main-diag img) -> image?
img : image?
procedure
(reflect-other-diag img) -> image?
img : image?
value
pic:bloch : image?
value
pic:hieroglyphics : image?
value
pic:hacker : image?
value
pic:book : image?
value
pic:stick-figure : image?
value
pic:scheme-logo : image?
value
pic:calendar : image?
procedure
(name->color name) -> (or/c color? false/c)
name : (or/c string? symbol?)
procedure
(colorize thing) -> (or/c color? false/c)
thing : (or/c color? string? symbol? false/c)
procedure
(color=? c1 c2) -> boolean?
c1 : (or/c color? string? symbol? false/c)
c2 : (or/c color? string? symbol? false/c)
procedure
(get-pixel-color x y pic) -> color?
x : natural-number/c
y : natural-number/c
pic : image?
procedure
(build-image width height f) -> image?
width : natural-number/c
height : natural-number/c
f : (-> natural-number/c natural-number/c color?)
procedure
(build-image/extra width height f extra) -> image?
width : natural-number/c
height : natural-number/c
f : (-> natural-number/c natural-number/c any/c color?)
extra : any/c
procedure
(build4-image width
height
red-function
green-function
blue-function
alpha-function) -> image?
width : natural-number/c
height : natural-number/c
red-function : (-> natural-number/c natural-number/c natural-number/c)
green-function : (-> natural-number/c natural-number/c natural-number/c)
blue-function : (-> natural-number/c natural-number/c natural-number/c)
alpha-function : (-> natural-number/c natural-number/c
natural-number/c)
procedure
(build3-image width
height
red-function
green-function
blue-function) -> image?
width : natural-number/c
height : natural-number/c
red-function : (-> natural-number/c natural-number/c natural-number/c)
green-function : (-> natural-number/c natural-number/c natural-number/c)
blue-function : (-> natural-number/c natural-number/c natural-number/c)
procedure
(map-image f img) -> image?
f : (-> color? color?)
img : image?
(map-image f img) -> image?
f : (-> natural-number/c natural-number/c color? color?)
img : image?
procedure
(map-image/extra f img extra) -> image?
f : (-> color? any/c color?)
img : image?
extra : any/c
(map-image/extra f img extra) -> image?
f : (-> natural-number/c natural-number/c color? any/c color?)
img : image?
extra : any/c
procedure
(map4-image red-func
green-func
blue-func
alpha-func
img) -> image?
red-func : (-> natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c)
green-func : (-> natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c)
blue-func : (-> natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c)
alpha-func : (-> natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c)
img : image?
procedure
(map3-image red-func
green-func
blue-func
img) -> image?
red-func : (-> natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c)
green-func : (-> natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c)
blue-func : (-> natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c natural-number/c)
img : image?
procedure
(fold-image f init img) -> any/c
f : (-> color? any/c any/c)
init : any/c
img : image?
(fold-image f init img) -> any/c
f : (-> natural-number/c natural-number/c color? any/c any/c)
init : any/c
img : image?
procedure
(fold-image/extra f init img extra) -> any/c
f : (-> color? any/c any/c any/c)
init : any/c
img : image?
extra : any/c
(fold-image/extra f init img extra) -> any/c
f : (-> natural-number/c natural-number/c color? any/c any/c any/c)
init : any/c
img : image?
extra : any/c
procedure
(real->int num) -> integer?
num : real?
procedure
(with-input-from-string input thunk) -> any/c
input : string?
thunk : (-> any/c)
procedure
(with-output-to-string thunk) -> string?
thunk : (-> any/c)
procedure
(with-input-from-file filename thunk) -> any/c
filename : string?
thunk : (-> any/c)
procedure
(with-output-to-file filename thunk) -> any/c
filename : string?
thunk : (-> any/c)
procedure
(with-input-from-url url thunk) -> any/c
url : string?
thunk : (-> any/c)
procedure
(with-io-strings input thunk) -> string?
input : string?
thunk : (-> any/c)
|