36 long count, total, sum;
91 if (!first && cat > prev)
134 for (i = 0; i <= statf->
count; i++) {
148 sum += statf->
stats[i];
150 if (!first &&
red2 == red &&
blu2 == blu &&
grn2 == grn)
159 if (i == statf->
count)
168 if (!first &&
val2 > val)
211 for (i = 0; i <=
samples; i++) {
287 for (i = 0; i <=
samples; i++) {
void Rast_add_d_color_rule(const DCELL *, int, int, int, const DCELL *, int, int, int, struct Colors *)
Adds the floating-point color rule (DCELL version)
void Rast_set_null_value_color(int, int, int, struct Colors *)
Set color for NULL-value.
void Rast_add_c_color_rule(const CELL *, int, int, int, const CELL *, int, int, int, struct Colors *)
Adds the integer color rule (CELL version)
int Rast_rewind_cell_stats(struct Cell_stats *)
Reset/rewind cell stats.
void Rast_init_colors(struct Colors *)
Initialize color structure.
int Rast_next_cell_stat(CELL *, long *, struct Cell_stats *)
Retrieve sorted cell stats.
void Rast_get_d_color_range(DCELL *, DCELL *, const struct Colors *)
Get color range values (DCELL)
void Rast_get_null_value_color(int *, int *, int *, const struct Colors *)
Gets color for null value.
int Rast_get_d_color(const DCELL *, int *, int *, int *, struct Colors *)
Gets color from raster map (DCELL)
void Rast_set_default_color(int, int, int, struct Colors *)
Set default color value.
void Rast_get_default_color(int *, int *, int *, const struct Colors *)
Gets default color.