GRASS GIS 7 Programmer's Manual
7.0.3(2016)-r00000
Main Page
Related Pages
Data Structures
Files
File List
Globals
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
}
png_state::current_color
int current_color
Definition:
pngdriver.h:34
pngdriver.h
GRASS png display driver - header file.
png
struct png_state png
Definition:
pngdriver/graph_set.c:32
png_get_color
unsigned int png_get_color(int r, int g, int b, int a)
Definition:
color_table.c:120
b
double b
Definition:
driver/set_window.c:5
g
float g
Definition:
named_colr.c:8
PNG_color_rgb
void PNG_color_rgb(int r, int g, int b)
Identify a color.
Definition:
pngdriver/color.c:32
r
double r
Definition:
driver/set_window.c:5
pngdriver
color.c
Generated on Tue Mar 29 2016 20:03:26 for GRASS GIS 7 Programmer's Manual by
1.8.11