color_str.c File Reference

#include "string.h"
#include "gis.h"

Include dependency graph for color_str.c:

Go to the source code of this file.

Defines

#define NUM_COLORS   15

Functions

int G_str_to_color (char *str, int *red, int *green, int *blue)


Define Documentation

#define NUM_COLORS   15

Definition at line 4 of file color_str.c.

Referenced by G_str_to_color().


Function Documentation

int G_str_to_color ( char *  str,
int *  red,
int *  green,
int *  blue 
)

Definition at line 36 of file color_str.c.

References G_chop(), G_debug(), G_strcasecmp(), name, NUM_COLORS, and r.


Variable Documentation

int b

Definition at line 8 of file color_str.c.

Referenced by G__lookup_colors(), G__read_row_ptrs(), G__write_row_ptrs(), G_get_c_raster_color(), G_get_color(), G_get_d_raster_color(), G_get_f_raster_color(), G_get_raster_color(), G_remove_commas(), G_set_d_color(), G_sort_histogram(), G_strip(), and G_zlib_read().

int g

Definition at line 8 of file color_str.c.

Referenced by G__lookup_colors(), G_get_c_raster_color(), G_get_color(), G_get_d_raster_color(), G_get_f_raster_color(), G_get_raster_color(), and G_set_d_color().

char* name

Definition at line 7 of file color_str.c.

Referenced by G__location_path(), G__machine_name(), G__tempfile(), G_color_name(), G_database_datum_name(), G_database_ellipse_name(), G_database_projection_name(), G_database_unit_name(), G_mask_info(), G_myname(), G_program_name(), G_set_program_name(), G_str_to_color(), and G_whoami().

int r

Definition at line 8 of file color_str.c.

Referenced by G__lookup_colors(), G_get_c_raster_color(), G_get_color(), G_get_d_raster_color(), G_get_f_raster_color(), G_get_raster_color(), G_pclose(), G_set_d_color(), G_str_to_color(), and trans().


Generated on Sat Jul 22 22:06:21 2006 for GRASS by  doxygen 1.4.7