|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-5f4f7ad06c
|
Raster Library - Initialize Colors structure. More...

Go to the source code of this file.
Functions | |
| void | Rast_init_colors (struct Colors *colors) |
| Initialize color structure. | |
Raster Library - Initialize Colors structure.
(C) 2001-2009 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file color_init.c.
Initialize color structure.
The colors structure is initialized for subsequent calls to Rast_add_c_color_rule() and Rast_set_c_color().
| colors | pointer to Colors structure |
Definition at line 25 of file color_init.c.
References Colors::cmax, Colors::fixed, G_zero(), and Colors::modular.
Referenced by create_raster(), IL_output_2d(), IL_resample_output_2d(), Rast3d_read_colors(), Rast_abs_log_colors(), Rast_free_colors(), Rast_histogram_eq_colors(), Rast_histogram_eq_fp_colors(), Rast_log_colors(), Rast_make_histogram_eq_colors(), Rast_make_histogram_log_colors(), Rast_make_random_colors(), Rast_read_color_rules(), Rast_read_colors(), and Vect_read_colors().