#include <grass/gis.h>
Go to the source code of this file.
Functions | |
int | G_make_ramp_colors (struct Colors *colors, CELL min, CELL max) |
make color ramp | |
int | G_make_ramp_fp_colors (struct Colors *colors, DCELL min, DCELL max) |
int | G_make_color_ramp (struct Colors *colors, CELL min, CELL max) |
int | G_add_ramp_colors (struct Colors *colors, CELL min, CELL max) |
int G_add_ramp_colors | ( | struct Colors * | colors, | |
CELL | min, | |||
CELL | max | |||
) |
Definition at line 55 of file color_ramp.c.
int G_make_color_ramp | ( | struct Colors * | colors, | |
CELL | min, | |||
CELL | max | |||
) |
int G_make_ramp_colors | ( | struct Colors * | colors, | |
CELL | min, | |||
CELL | max | |||
) |
make color ramp
Generates a color table with 3 sections: red only, green only, and blue only, each increasing from none to full intensity. This table is good for continuous data, such as elevation.
colors | ||
min | ||
max |
Definition at line 31 of file color_ramp.c.
References G_init_colors().
Referenced by G_make_color_ramp().
int G_make_ramp_fp_colors | ( | struct Colors * | colors, | |
DCELL | min, | |||
DCELL | max | |||
) |
Definition at line 38 of file color_ramp.c.
References G_init_colors().
Referenced by G_make_colors().