GRASS Programmer's Manual  6.4.3(2013)-r
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Move.c
Go to the documentation of this file.
1 #include "driver.h"
2 #include "driverlib.h"
3 
4 void COM_Move_abs(int x, int y)
5 {
6  cur_x = x;
7  cur_y = y;
8 }
9 
10 void COM_Move_rel(int x, int y)
11 {
12  cur_x += x;
13  cur_y += y;
14 }