23 #include <grass/gis.h> 
   24 #include <grass/glocale.h> 
   40         G_warning(_(
"The raster map <%s@%s> is empty"), name, mapset);
 
   48             _(
"\n\nColor table needed for file [%s] in mapset [%s].\n"), name,
 
   51     fprintf(stderr, _(
"\nPlease identify the type desired:\n"));
 
   52     fprintf(stderr, _(
"    1:  Random colors\n"));
 
   53     fprintf(stderr, _(
"    2:  Red, green, and blue color ramps\n"));
 
   54     fprintf(stderr, _(
"    3:  Color wave\n"));
 
   55     fprintf(stderr, _(
"    4:  Gray scale\n"));
 
   56     fprintf(stderr, _(
"    5:  Aspect\n"));
 
   57     fprintf(stderr, _(
"    6:  Rainbow colors\n"));
 
   58     fprintf(stderr, _(
"    7:  Red through yellow to green\n"));
 
   59     fprintf(stderr, _(
"    8:  Green through yellow to red\n"));
 
   60     fprintf(stderr, _(
"RETURN  quit\n"));
 
   61     fprintf(stderr, 
"\n> ");
 
   69         if (sscanf(buff, 
"%d", &answ) != 1)
 
   90             fprintf(stderr, _(
"\n%s invalid; Try again > "), buff);
 
int G_ask_colors(const char *name, const char *mapset, struct Colors *pcolr)
int G_make_ramp_fp_colors(struct Colors *colors, DCELL min, DCELL max)
int G_make_wave_fp_colors(struct Colors *colors, DCELL min, DCELL max)
int G_make_gyr_fp_colors(struct Colors *colors, DCELL min, DCELL max)
int G_is_d_null_value(const DCELL *dcellVal)
Returns 1 if dcell is NULL, 0 otherwise. This will test if the value dcell is a NaN. Same test as in G_is_f_null_value(). 
int G_strip(char *buf)
Removes all leading and trailing white space from string. 
int G_make_rainbow_fp_colors(struct Colors *colors, DCELL min, DCELL max)
int G_make_ryg_fp_colors(struct Colors *colors, DCELL min, DCELL max)
int G_make_random_colors(struct Colors *colors, CELL min, CELL max)
make random colors 
G_warning("category support for [%s] in mapset [%s] %s", name, mapset, type)
int G_get_fp_range_min_max(const struct FPRange *range, DCELL *min, DCELL *max)
Extract the min/max from the range structure r. If the range structure has no defined min/max (first!...
int G_make_grey_scale_fp_colors(struct Colors *colors, DCELL min, DCELL max)
int G_read_fp_range(const char *name, const char *mapset, struct FPRange *drange)
Read the floating point range file f_range. This file is written in binary using XDR format...
int G_make_aspect_fp_colors(struct Colors *colors, DCELL min, DCELL max)