| 121 | } |
| 122 | |
| 123 | void |
| 124 | get_color(unsigned int colind, struct RGB *rgb) |
| 125 | { |
| 126 | rgb->r = (1000L * (long) ColorMap[CM_RED][colind]) / 0xFF; |
| 127 | rgb->g = (1000L * (long) ColorMap[CM_GREEN][colind]) / 0xFF; |
| 128 | rgb->b = (1000L * (long) ColorMap[CM_BLUE][colind]) / 0xFF; |
| 129 | } |
| 130 | |
| 131 | void |
| 132 | get_pixel(int x, int y, unsigned int *colind) |
nothing calls this directly
no outgoing calls
no test coverage detected