GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-5c00b4e944
color_out.c File Reference

Raster Library - Print color table. More...

#include <grass/raster.h>
Include dependency graph for color_out.c:

Go to the source code of this file.


void Rast_print_colors (struct Colors *colors, DCELL min, DCELL max, FILE *fp, int perc)
 Print color table. More...

Detailed Description

Raster Library - Print color table.

(C) 2010-2011 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.

Glynn Clements

Definition in file color_out.c.

Function Documentation

◆ Rast_print_colors()

void Rast_print_colors ( struct Colors colors,
DCELL  min,
DCELL  max,
FILE *  fp,
int  perc 

Print color table.

colorspointer to Colors structure
min,maxminimum and maximum value for percentage output (used only when perc is non-zero)
fpfile where to print color table rules
percTRUE for percentage output

Definition at line 41 of file color_out.c.