GRASS Programmer's Manual
6.4.2(2012)
|
00001 #include <grass/gis.h> 00002 int G_shift_colors(int shift, struct Colors *colors) 00003 { 00004 colors->shift += (DCELL) shift; 00005 00006 return 0; 00007 } 00008 00009 int G_shift_d_colors(DCELL shift, struct Colors *colors) 00010 { 00011 colors->shift += shift; 00012 00013 return 0; 00014 }