todo: deal with alpha's... */
| 630 | |
| 631 | /* todo: deal with alpha's... */ |
| 632 | static void writeColorRange(FILE *stream, int indent, const char *name, colorObj *mincolor, colorObj *maxcolor) { |
| 633 | if(!MS_VALID_COLOR(*mincolor) || !MS_VALID_COLOR(*maxcolor)) return; |
| 634 | writeIndent(stream, ++indent); |
| 635 | fprintf(stream, "%s %d %d %d %d %d %d\n", name, mincolor->red, mincolor->green, mincolor->blue, maxcolor->red, maxcolor->green, maxcolor->blue); |
| 636 | } |
| 637 | |
| 638 | /* |
| 639 | ** Initialize, load and free a single join |
no test coverage detected