GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73373
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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:17
struct ps_state ps
double right
Definition: psdriver.h:17
int encapsulated
Definition: psdriver.h:15
void output(const char *fmt,...)
double top
Definition: psdriver.h:17
void PS_Erase(void)
Definition: psdriver/erase.c:3
double bot
Definition: psdriver.h:17