GRASS GIS 7 Programmer's Manual  7.0.4(2016)-r00000
pngdriver/color.c
Go to the documentation of this file.
1 
15 #include <grass/gis.h>
16 #include "pngdriver.h"
17 
32 void PNG_color_rgb(int r, int g, int b)
33 {
34  png.current_color = png_get_color(r, g, b, 0);
35 }
int current_color
Definition: pngdriver.h:34
GRASS png display driver - header file.
struct png_state png
unsigned int png_get_color(int r, int g, int b, int a)
Definition: color_table.c:120
double b
float g
Definition: named_colr.c:8
void PNG_color_rgb(int r, int g, int b)
Identify a color.
double r