GRASS Programmer's Manual  6.4.1(2011)
named_colr.c File Reference
#include <grass/gis.h>
#include <string.h>
#include <stdio.h>
Include dependency graph for named_colr.c:

Go to the source code of this file.

Functions

int G_color_values (const char *name, float *r, float *g, float *b)
const char * G_color_name (int n)

Function Documentation

const char* G_color_name ( int  n)

Definition at line 44 of file named_colr.c.

References NULL.

int G_color_values ( const char *  name,
float *  r,
float *  g,
float *  b 
)

Definition at line 29 of file named_colr.c.

Referenced by G_parse_color_rule().


Variable Documentation

float g

Definition at line 8 of file named_colr.c.

Referenced by G__lookup_colors(), G_get_color(), G_get_raster_color(), and G_read_color_rules().

float r
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines