GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
pngdriver/color.c
Go to the documentation of this file.
1 /*!
2  \file lib/pngdriver/color.c
3 
4  \brief GRASS png display driver - PNG_color_rgb
5 
6  (C) 2003-2014 by Per Henrik Johansen and 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 Per Henrik Johansen (original contributor)
12  \author Glynn Clements
13  */
14 
15 #include <grass/gis.h>
16 #include "pngdriver.h"
17 
18 /*!
19  \brief Identify a color
20 
21  Identify a color that has been set in the reset_color() (found in Reset_clr.c
22  file in this directory). Subsequent graphics calls will use this color.
23 
24  Called by:
25  Color() in ../lib/Color.c
26 
27  \param r red color value
28  \param g green color value
29  \param b blue color value
30  */
31 
32 void PNG_color_rgb(int r, int g, int b)
33 {
35 }
unsigned int png_get_color(int r, int g, int b, int a)
Definition: color_table.c:118
float g
Definition: named_colr.c:7
void PNG_color_rgb(int r, int g, int b)
Identify a color.
struct png_state png
GRASS png display driver - header file.
double b
Definition: r_raster.c:39
double r
Definition: r_raster.c:39
int current_color
Definition: pngdriver.h:33