GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-2653d7b383
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.


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.

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().

colorspointer to Colors structure

Definition at line 25 of file color_init.c.