Functions

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 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(), and G_read_colors().