GRASS GIS 7 Programmer's Manual
7.0.3(2016)-r00000
|
GIS Library - Color tables management subroutines. More...
#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/glocale.h>
Go to the source code of this file.
Functions | |
char * | G_color_rules_options (void) |
Get list of color rules for Option->options. More... | |
char * | G_color_rules_descriptions (void) |
Get color rules description for Option->descriptions. More... | |
void | G_list_color_rules (FILE *out) |
Print color rules. More... | |
int | G_find_color_rule (const char *name) |
Check if color rule is defined. More... | |
GIS Library - Color tables management subroutines.
Taken from r.colors module.
(C) 2001-2011 by the GRASS Development Team
Definition in file color_rules.c.
char* G_color_rules_descriptions | ( | void | ) |
Get color rules description for Option->descriptions.
Definition at line 63 of file color_rules.c.
References b, G_find_key_value(), G_free(), G_free_key_value(), G_gisbase(), G_ls2(), G_read_key_value_file(), G_snprintf(), G_store(), name, and NULL.
Referenced by G_define_standard_option().
char* G_color_rules_options | ( | void | ) |
Get list of color rules for Option->options.
Definition at line 25 of file color_rules.c.
References G_free(), list, name, and NULL.
Referenced by G_define_standard_option().
int G_find_color_rule | ( | const char * | name | ) |
Check if color rule is defined.
name | color rule name |
Definition at line 160 of file color_rules.c.
void G_list_color_rules | ( | FILE * | out | ) |