GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-602118adcc
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 }
void PS_Erase(void)
Definition: psdriver/erase.c:3
struct ps_state ps
void output(const char *fmt,...)
double left
Definition: psdriver.h:17
double top
Definition: psdriver.h:17
int encapsulated
Definition: psdriver.h:15
double bot
Definition: psdriver.h:17
double right
Definition: psdriver.h:17