GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
color_init.c File Reference

Raster Library - Initialize Colors structure. More...

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

Go to the source code of this file.

Functions

void Rast_init_colors (struct Colors *colors)
 Initialize color structure. More...
 

Detailed Description

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.

Author
Original author CERL

Definition in file color_init.c.

Function Documentation

◆ Rast_init_colors()

void Rast_init_colors ( struct Colors colors)

Initialize color structure.

The colors structure is initialized for subsequent calls to Rast_add_c_color_rule() and Rast_set_c_color().

Parameters
colorspointer to Colors structure

Definition at line 25 of file color_init.c.