GRASS Programmer's Manual  6.4.2(2012)
Move.c
Go to the documentation of this file.
00001 #include "driver.h"
00002 #include "driverlib.h"
00003 
00004 void COM_Move_abs(int x, int y)
00005 {
00006     cur_x = x;
00007     cur_y = y;
00008 }
00009 
00010 void COM_Move_rel(int x, int y)
00011 {
00012     cur_x += x;
00013     cur_y += y;
00014 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines