|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-8843f13794
|
Raster Library - Print color table. More...
#include <grass/raster.h>
Go to the source code of this file.
Functions | |
| void | Rast_print_colors (struct Colors *colors, DCELL min, DCELL max, FILE *fp, int perc) |
| Print color table. | |
Raster Library - Print color table.
SPDX-FileCopyrightText: 2010-2011 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
Definition in file color_out.c.
Print color table.
| colors | pointer to Colors structure |
| min,max | minimum and maximum value for percentage output (used only when perc is non-zero) |
| fp | file where to print color table rules |
| perc | TRUE for percentage output |
Definition at line 39 of file color_out.c.
References b, count, g, max, min, r, Rast_colors_count(), Rast_get_c_color_range(), Rast_get_default_color(), Rast_get_fp_color_rule(), Rast_get_null_value_color(), Rast_lookup_c_colors(), and Colors::version.