137 D_RGB_color((
unsigned char)
r, (
unsigned char)
g, (
unsigned char)
b);
void D_RGB_color(int, int, int)
int Rast_get_color(const void *, int *, int *, int *, struct Colors *, RASTER_MAP_TYPE)
Gets color from raster map.
int D_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 D_set_overlay_mode(int n)
Configure raster overlay mode.
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_c_color(CELL cat, struct Colors *colors)
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...