GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 }
void(* Erase)(void)
Definition: driver.h:31
void COM_Screen_rite(int *)
Definition: Returns.c:9
void COM_Screen_top(int *)
Definition: Returns.c:19
void COM_Screen_left(int *)
Definition: Returns.c:4
void COM_Screen_bot(int *)
Definition: Returns.c:14
void COM_Box_abs(int x1, int y1, int x2, int y2)
Definition: driver/Box.c:4
Definition: driver.h:25
void COM_Erase(void)
Definition: driver/Erase.c:4