4#include <grass/fontcap.h>
6#ifdef GRASS_CMAKE_BUILD
7#include <export/grass_driver_export.h>
9#define GRASS_DRIVER_EXPORT
25extern struct GFONT_CAP *
ftcap;
30 void (*
Box)(double, double, double, double);
34 const char *(*Graph_get_file)(void);
38 int (*
Raster)(int, int,
const unsigned char *,
const unsigned char *,
39 const unsigned char *,
const unsigned char *);
42 void (*
Move)(double, double);
43 void (*
Cont)(double, double);
50 void (*
Bitmap)(int, int, int,
const unsigned char *);
51 void (*
Text)(
const char *);
52 void (*
Text_box)(
const char *,
double *,
double *,
double *,
double *);
66extern void COM_Box_abs(
double,
double,
double,
double);
69extern void COM_Color_RGB(
unsigned char,
unsigned char,
unsigned char);
98extern int COM_raster(
int,
int,
const unsigned char *,
const unsigned char *,
99 const unsigned char *,
const unsigned char *);
104extern void COM_Get_window(
double *,
double *,
double *,
double *);
116extern void COM_Bitmap(
int,
int,
int,
const unsigned char *);
118extern void COM_Move(
double,
double);
119extern void COM_Cont(
double,
double);
void COM_Box_abs(double x1, double y1, double x2, double y2)
void COM_Standard_color(int number)
void COM_Color_RGB(unsigned char r, unsigned char g, unsigned char b)
void COM_Cont(double x, double y)
void COM_Bitmap(int ncols, int nrows, int threshold, const unsigned char *buf)
void COM_Move(double x, double y)
void COM_Point(double x, double y)
void COM_Get_window(double *, double *, double *, double *)
void COM_Graph_close(void)
void COM_Text_size(double, double)
int COM_raster(int, int, const unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *)
void COM_Pos_abs(double, double)
#define GRASS_DRIVER_EXPORT
void COM_Text_rotation(double)
void COM_Text(const char *)
void COM_end_raster(void)
void COM_Get_text_box(const char *, double *, double *, double *, double *)
void COM_Line_width(double)
void COM_Set_font(const char *)
void COM_begin_raster(int, int[2][2], double[2][2])
void COM_Set_window(double, double, double, double)
void COM_Font_info(char ***, int *)
const char * COM_Graph_get_file(void)
void LIB_init(const struct driver *drv)
Initialize display driver.
void COM_Set_encoding(const char *)
void COM_Font_list(char ***, int *)
void(*) Text_box(const char *, double *, double *, double *, double *)
void(*) Point(double, double)
void(*) Set_font(const char *)
void(*) Font_list(char ***, int *)
void(*) Set_window(double, double, double, double)
void(*) Box(double, double, double, double)
void(*) Font_info(char ***, int *)
void(*) Color(int, int, int)
int(*) Raster(int, int, const unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *)
void(*) Move(double, double)
void(*) Text(const char *)
void(*) Graph_close(void)
void(*) Bitmap(int, int, int, const unsigned char *)
void(*) Begin_raster(int, int[2][2], double[2][2])
void(*) Line_width(double)
void(*) Cont(double, double)