GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
psdriver/erase.c
Go to the documentation of this file.
1
#include "
psdriver.h
"
2
3
void
PS_Erase
(
void
)
4
{
5
if
(
ps
.
encapsulated
)
6
output
(
"%d %d %d %d BOX\n"
,
ps
.
left
,
ps
.
top
,
ps
.
right
,
ps
.
bot
);
7
else
8
output
(
"ERASE\n"
);
9
}
ps_state::left
double left
Definition:
psdriver.h:18
ps
struct ps_state ps
Definition:
psdriver/graph_set.c:26
psdriver.h
ps_state::right
double right
Definition:
psdriver.h:18
ps_state::encapsulated
int encapsulated
Definition:
psdriver.h:16
output
void output(const char *fmt,...)
Definition:
psdriver/graph_set.c:236
ps_state::top
double top
Definition:
psdriver.h:18
PS_Erase
void PS_Erase(void)
Definition:
psdriver/erase.c:3
ps_state::bot
double bot
Definition:
psdriver.h:18
lib
psdriver
erase.c
Generated on Tue Feb 14 2023 05:55:59 for GRASS GIS 8 Programmer's Manual by
1.8.13