GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
color_shift.c
Go to the documentation of this file.
1 #include <grass/gis.h>
2 int G_shift_colors(int shift, struct Colors *colors)
3 {
4  colors->shift += (DCELL) shift;
5 
6  return 0;
7 }
8 
9 int G_shift_d_colors(DCELL shift, struct Colors *colors)
10 {
11  colors->shift += shift;
12 
13  return 0;
14 }
int G_shift_colors(int shift, struct Colors *colors)
Definition: color_shift.c:2
int G_shift_d_colors(DCELL shift, struct Colors *colors)
Definition: color_shift.c:9