# | Line 162 | Line 162 | BYTE *rmap, *gmap, *bmap; | |
---|---|---|
162 | } | |
163 | ||
164 | ||
165 | + | map_color(rgb, col) /* map a color to a byte triplet */ |
166 | + | BYTE rgb[3]; |
167 | + | COLOR col; |
168 | + | { |
169 | + | rgb[RED] = map_col(col,RED); |
170 | + | rgb[GRN] = map_col(col,GRN); |
171 | + | rgb[BLU] = map_col(col,BLU); |
172 | + | } |
173 | + | |
174 | + | |
175 | static | |
176 | cut(tree, level, box, c0, c1) /* partition color space */ | |
177 | register CNODE *tree; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |