GRASS GIS 7 Programmer's Manual
7.0.3(2016)-r00000
Main Page
Related Pages
Data Structures
Files
File List
Globals
pngdriver/line_width.c
Go to the documentation of this file.
1
15
#include <math.h>
16
#include "
pngdriver.h
"
17
23
void
PNG_Line_width
(
double
width)
24
{
25
png
.
linewidth
= (width < 0 ? 0 : (int) floor(width + 0.5));
26
}
pngdriver.h
GRASS png display driver - header file.
png
struct png_state png
Definition:
pngdriver/graph_set.c:32
png_state::linewidth
int linewidth
Definition:
pngdriver.h:49
PNG_Line_width
void PNG_Line_width(double width)
Set line width.
Definition:
pngdriver/line_width.c:23
pngdriver
line_width.c
Generated on Wed Mar 2 2016 13:36:07 for GRASS GIS 7 Programmer's Manual by
1.8.11