color_shift.c 208 B

1234567891011
  1. #include <grass/gis.h>
  2. void G_shift_colors(int shift, struct Colors *colors)
  3. {
  4. colors->shift += (DCELL) shift;
  5. }
  6. void G_shift_d_colors(DCELL shift, struct Colors *colors)
  7. {
  8. colors->shift += shift;
  9. }