GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-77aab223bc
|
GRASS png display driver - PNG_color_rgb. More...
Go to the source code of this file.
Functions | |
void | PNG_color_rgb (int r, int g, int b) |
Identify a color. More... | |
GRASS png display driver - PNG_color_rgb.
(C) 2003-2014 by Per Henrik Johansen and the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file pngdriver/color.c.
void PNG_color_rgb | ( | int | r, |
int | g, | ||
int | b | ||
) |
Identify a color.
Identify a color that has been set in the reset_color() (found in Reset_clr.c file in this directory). Subsequent graphics calls will use this color.
Called by: Color() in ../lib/Color.c
r | red color value |
g | green color value |
b | blue color value |
Definition at line 32 of file pngdriver/color.c.
References b, png_state::current_color, g, png, png_get_color(), and r.