GRASS Programmer's Manual
6.4.3(2013)-r
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
Draw.c
Go to the documentation of this file.
1
#include "
driver.h
"
2
#include "
driverlib.h
"
3
4
5
void
DRV_draw_bitmap
(
int
ncols,
int
nrows,
int
threshold,
6
const
unsigned
char
*buf)
7
{
8
if
(
driver
->
draw_bitmap
)
9
(*
driver
->
draw_bitmap
) (ncols, nrows, threshold, buf);
10
}
11
12
void
DRV_draw_line
(
int
x0,
int
y0,
int
x1,
int
y1)
13
{
14
if
(
driver
->
draw_line
)
15
(*
driver
->
draw_line
) (x0, y0, x1, y1);
16
}
17
18
void
DRV_draw_point
(
int
x,
int
y
)
19
{
20
if
(
driver
->
draw_point
)
21
(*
driver
->
draw_point
) (x, y);
22
}
lib
driver
Draw.c
Generated on Sat Oct 5 2013 12:11:06 for GRASS Programmer's Manual by
1.8.4