GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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 }
double left
Definition: psdriver.h:18
struct ps_state ps
double right
Definition: psdriver.h:18
int encapsulated
Definition: psdriver.h:16
void output(const char *fmt,...)
double top
Definition: psdriver.h:18
void PS_Erase(void)
Definition: psdriver/erase.c:3
double bot
Definition: psdriver.h:18