GRASS Programmer's Manual  6.4.2(2012)
 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

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.

Referenced by G3d_readColors(), G_abs_log_colors(), G_ask_colors(), G_free_colors(), G_histogram_eq_colors(), G_histogram_eq_colors_fp(), G_log_colors(), G_make_histogram_eq_colors(), G_make_histogram_log_colors(), G_make_random_colors(), G_read_color_rules(), G_read_colors(), IL_output_2d(), and IL_resample_output_2d().