GRASS Programmer's Manual  6.4.3(2013)-r
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
driver/Erase.c
Go to the documentation of this file.
1 #include "driver.h"
2 #include "driverlib.h"
3 
4 void COM_Erase(void)
5 {
6  int top, bot, left, rite;
7 
8  if (driver->Erase) {
9  (*driver->Erase) ();
10  return;
11  }
12 
13  COM_Screen_top(&top);
14  COM_Screen_bot(&bot);
15  COM_Screen_rite(&rite);
16  COM_Screen_left(&left);
17 
18  COM_Box_abs(left, top, rite, bot);
19 }