GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
color_init.c File Reference
#include <grass/gis.h>
Include dependency graph for color_init.c:

Go to the source code of this file.

Functions

int G_init_colors (struct Colors *colors)
 initialize color structure More...
 

Function Documentation

int G_init_colors ( struct Colors *  colors)

initialize color structure

The colors structure is initialized for subsequent calls to G_add_color_rule andG_set_color.

Parameters
colors
Returns
int

Definition at line 23 of file color_init.c.

References NULL.