GRASS Programmer's Manual
6.4.2(2012)
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
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 Sun Sep 9 2012 18:55:31 for GRASS Programmer's Manual by
1.8.1.2