GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-a277d8547c
Main Page
Related Pages
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
Enumerations
a
c
d
e
h
i
j
l
m
n
o
p
r
s
t
v
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
▼
GRASS GIS 8 Programmer's Manual
Libraries
Core libraries
►
Further libraries
File structure of GRASS Location
►
Compiling and Installing GRASS Modules
Multiple-Architecture Conventions
►
Vector modules and their parameters/flags
►
GRASS Array Statistics Library
►
GRASS Btree2 and k-d tree libraries
►
GRASS Cairo Display Driver
►
GRASS testing normality & exponentiality Library
►
GRASS Cluster analysis statistics Library
►
GRASS DataBase Management Interface
►
GRASS Display Library
►
CCMATH mathematics library source code
►
GRASS GIS General Library (aka GIS Library)
►
GRASS Numerical math interface
►
GRASS Partial differential equations Library (GPDE)
►
GRASS Imagery Library
►
GRASS Data Elements Manage Library
►
GRASS Nviz Library
►
GRASS GIS OGSF Library
GRASS GIS PNG Display Driver Library
►
GRASS and the PROJ projection library
GRASS Postscript Display Driver Library
►
GRASS Raster Library
►
GRASS 3D Raster Volume Library
GRASS Row Input/Output Library
►
GRASS Library for interpolation with regularized splines with tension
►
GRASS Segment Library
►
GRASS Directed Graph Library
►
GRASS Vector Library
Todo List
Deprecated List
Bug List
►
Data Structures
▼
Files
►
File List
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
pngdriver/erase.c
Go to the documentation of this file.
1
/*!
2
\file lib/pngdriver/erase.c
3
4
\brief GRASS png display driver - erase screen
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 "
pngdriver.h
"
16
17
/*!
18
\brief Erase screen
19
*/
20
void
PNG_Erase
(
void
)
21
{
22
int
n =
png
.
width
*
png
.
height
;
23
int
i;
24
25
for
(i = 0; i < n; i++)
26
png
.
grid
[i] =
png
.
background
;
27
28
png
.
modified
= 1;
29
}
PNG_Erase
void PNG_Erase(void)
Erase screen.
Definition:
pngdriver/erase.c:20
png
struct png_state png
Definition:
pngdriver/graph_set.c:32
pngdriver.h
GRASS png display driver - header file.
png_state::height
int height
Definition:
pngdriver.h:42
png_state::grid
unsigned int * grid
Definition:
pngdriver.h:43
png_state::width
int width
Definition:
pngdriver.h:42
png_state::background
unsigned int background
Definition:
pngdriver.h:45
png_state::modified
int modified
Definition:
pngdriver.h:46
lib
pngdriver
erase.c
Generated on Thu May 15 2025 07:07:49 for GRASS GIS 8 Programmer's Manual by
1.9.1