GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Cont.c
Go to the documentation of this file.
1
#include "
driver.h
"
2
#include "
driverlib.h
"
3
4
void
COM_Cont_abs
(
int
x,
int
y
)
5
{
6
DRV_draw_line
(
cur_x
,
cur_y
, x, y);
7
cur_x
= x;
8
cur_y
=
y
;
9
}
10
11
void
COM_Cont_rel
(
int
x,
int
y
)
12
{
13
COM_Cont_abs
(
cur_x
+ x,
cur_y
+ y);
14
}
cur_y
int cur_y
Definition:
driver/init.c:38
driver.h
COM_Cont_rel
void COM_Cont_rel(int x, int y)
Definition:
Cont.c:11
y
int y
Definition:
plot.c:34
DRV_draw_line
void DRV_draw_line(int x0, int y0, int x1, int y1)
Definition:
Draw.c:12
cur_x
int cur_x
Definition:
driver/init.c:37
COM_Cont_abs
void COM_Cont_abs(int x, int y)
Definition:
Cont.c:4
driverlib.h
lib
driver
Cont.c
Generated on Sat Jan 2 2016 01:46:47 for GRASS Programmer's Manual by
1.8.5