color_grey.c File Reference

#include <grass/gis.h>

Include dependency graph for color_grey.c:

Go to the source code of this file.

Functions

int G_make_grey_scale_colors (struct Colors *colors, CELL min, CELL max)
 make linear grey scale
int G_make_grey_scale_fp_colors (struct Colors *colors, double min, double max)
int G_make_grey_scale (struct Colors *colors, CELL min, CELL max)
int G_add_grey_scale_colors (struct Colors *colors, CELL min, CELL max)


Function Documentation

int G_add_grey_scale_colors ( struct Colors *  colors,
CELL  min,
CELL  max 
)

Definition at line 54 of file color_grey.c.

int G_make_grey_scale ( struct Colors *  colors,
CELL  min,
CELL  max 
)

Definition at line 44 of file color_grey.c.

References G_make_grey_scale_colors().

int G_make_grey_scale_colors ( struct Colors *  colors,
CELL  min,
CELL  max 
)

make linear grey scale

Generates a grey scale color table. Each color is a level of grey, increasing from black to white.

Parameters:
colors 
min 
max 
Returns:
int

Definition at line 30 of file color_grey.c.

References G_init_colors().

Referenced by G_make_grey_scale().

int G_make_grey_scale_fp_colors ( struct Colors *  colors,
double  min,
double  max 
)

Definition at line 37 of file color_grey.c.

References G_init_colors().

Referenced by G_make_colors().


Generated on Sun Apr 6 17:32:16 2008 for GRASS by  doxygen 1.5.5