GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
color_range.c File Reference
#include <math.h>
#include <grass/gis.h>
Include dependency graph for color_range.c:

Go to the source code of this file.

Functions

int G_set_color_range (CELL min, CELL max, struct Colors *colors)
 
int G_set_d_color_range (DCELL min, DCELL max, struct Colors *colors)
 
int G_get_color_range (CELL *min, CELL *max, const struct Colors *colors)
 
int G_get_d_color_range (DCELL *min, DCELL *max, const struct Colors *colors)
 

Function Documentation

int G_get_color_range ( CELL *  min,
CELL *  max,
const struct Colors *  colors 
)
Parameters
G_get_color_range
Returns
int

Definition at line 44 of file color_range.c.

Referenced by Gs_build_256lookup().

int G_get_d_color_range ( DCELL *  min,
DCELL *  max,
const struct Colors *  colors 
)
int G_set_color_range ( CELL  min,
CELL  max,
struct Colors *  colors 
)

Definition at line 4 of file color_range.c.

Referenced by G_make_random_colors().

int G_set_d_color_range ( DCELL  min,
DCELL  max,
struct Colors *  colors 
)

Definition at line 18 of file color_range.c.

References max, and min.