GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-8f4931381
color_invrt.c
Go to the documentation of this file.
1
/*!
2
\file lib/raster/color_invrt.c
3
4
\brief Raster library - Invert colors
5
6
(C) 2003-2009 by the GRASS Development Team
7
8
This program is free software under the GNU General Public License
9
(>=v2). Read the file COPYING that comes with GRASS for details.
10
11
\author Original author CERL
12
*/
13
14
#include <grass/gis.h>
15
#include <grass/raster.h>
16
17
void
Rast_invert_colors
(
struct
Colors
*colors)
18
{
19
colors->
invert
= !colors->
invert
;
20
}
Rast_invert_colors
void Rast_invert_colors(struct Colors *colors)
Definition:
color_invrt.c:17
Colors
Definition:
gis.h:662
Colors::invert
int invert
Definition:
gis.h:666
lib
raster
color_invrt.c
Generated on Fri Jan 22 2021 05:20:33 for GRASS GIS 7 Programmer's Manual by
1.8.13