31 #include <grass/gis.h>
32 #include <grass/display.h>
33 #include <grass/raster.h>
135 struct Colors *colors, RASTER_MAP_TYPE data_type)
140 R_RGB_color((
unsigned char)r, (
unsigned char)g, (
unsigned char)b);
int D_c_color(CELL cat, struct Colors *colors)
int D_color_of_type(const void *raster, struct Colors *colors, RASTER_MAP_TYPE data_type)
If the data_type is CELL_TYPE, calls D_color((CELL *value, colors); If the data_type is FCELL_TYPE...
int G_get_raster_color(const void *rast, int *red, int *grn, int *blu, struct Colors *colors, RASTER_MAP_TYPE map_type)
Gets color from raster.
int D_f_color(FCELL val, struct Colors *colors)
Same functionality as D_color() except that the value is type FCELL. This implies that the floating-p...
int D_set_overlay_mode(int n)
configure raster overlay mode
int D_d_color(DCELL val, struct Colors *colors)
Same functionality as D_color() except that the value is type DCELL. This implies that the floating-p...
int D_color(CELL cat, struct Colors *colors)
void R_RGB_color(unsigned char red, unsigned char grn, unsigned char blu)
select color