GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
driver/draw.c
Go to the documentation of this file.
1 #include "driver.h"
2 #include "driverlib.h"
3 
4 void COM_Bitmap(int ncols, int nrows, int threshold,
5  const unsigned char *buf)
6 {
7  if (driver->Bitmap)
8  (*driver->Bitmap) (ncols, nrows, threshold, buf);
9 }
10 
11 void COM_Begin(void)
12 {
13  if (driver->Begin)
14  (*driver->Begin)();
15 }
16 
17 void COM_Move(double x, double y)
18 {
19  if (driver->Move)
20  (*driver->Move)(x, y);
21 }
22 
23 void COM_Cont(double x, double y)
24 {
25  if (driver->Cont)
26  (*driver->Cont)(x, y);
27 }
28 
29 void COM_Close(void)
30 {
31  if (driver->Close)
32  (*driver->Close)();
33 }
34 
35 void COM_Stroke(void)
36 {
37  if (driver->Stroke)
38  (*driver->Stroke)();
39 }
40 
41 void COM_Fill(void)
42 {
43  if (driver->Fill)
44  (*driver->Fill)();
45 }
46 
47 void COM_Point(double x, double y)
48 {
49  if (driver->Point)
50  (*driver->Point)(x, y);
51 }
52 
void(* Fill)(void)
Definition: driver.h:45
void(* Stroke)(void)
Definition: driver.h:44
void COM_Cont(double x, double y)
Definition: driver/draw.c:23
void COM_Bitmap(int ncols, int nrows, int threshold, const unsigned char *buf)
Definition: driver/draw.c:4
void COM_Fill(void)
Definition: driver/draw.c:41
void COM_Point(double x, double y)
Definition: driver/draw.c:47
void(* Begin)(void)
Definition: driver.h:40
#define x
void(* Move)(double, double)
Definition: driver.h:41
void COM_Close(void)
Definition: driver/draw.c:29
void COM_Stroke(void)
Definition: driver/draw.c:35
void(* Point)(double, double)
Definition: driver.h:46
Definition: driver.h:22
void(* Close)(void)
Definition: driver.h:43
void COM_Move(double x, double y)
Definition: driver/draw.c:17
void(* Bitmap)(int, int, int, const unsigned char *)
Definition: driver.h:49
void COM_Begin(void)
Definition: driver/draw.c:11
void(* Cont)(double, double)
Definition: driver.h:42