GRASS GIS 8 Programmer's Manual 8.3.2(2024)-exported
Loading...
Searching...
No Matches
driverlib.h
Go to the documentation of this file.
1#define DEF_WIDTH 640
2#define DEF_HEIGHT 480
3
4#include "driver.h"
5
6extern const struct driver *driver;
7
8/* Utility Functions */
9
10/* Font.c */
11int font_get_type(void);
12const char *font_get_encoding(void);
13
14/* Text2.c */
15void get_text_ext(const char *, double *, double *, double *, double *);
16void soft_text(const char *);
17
18/* Text3.c */
19void soft_text_freetype(const char *);
20void get_text_ext_freetype(const char *, double *, double *, double *,
21 double *);
22
23/* font2.c */
24int font_init(const char *);
25int get_char_vects(unsigned char, int *, unsigned char **, unsigned char **);
26
27/* font_freetype.c */
28int font_init_freetype(const char *, int);
29const char *font_get_freetype_name(void);
30int font_get_index(void);
31
32/* parse_ftcap.c */
33extern int font_exists(const char *);
34extern int parse_fontcap_entry(struct GFONT_CAP *, const char *);
35extern struct GFONT_CAP *parse_fontcap(void);
36extern void free_fontcap(struct GFONT_CAP *);
void soft_text(const char *)
Definition text2.c:108
int font_exists(const char *)
Check if font exists.
Definition parse_ftcap.c:27
int font_init_freetype(const char *, int)
const char * font_get_encoding(void)
Definition font.c:34
int parse_fontcap_entry(struct GFONT_CAP *, const char *)
Parse fontcap entry.
Definition parse_ftcap.c:41
struct GFONT_CAP * parse_fontcap(void)
Parse fontcaps.
Definition parse_ftcap.c:73
const char * font_get_freetype_name(void)
int font_get_type(void)
Definition font.c:29
void free_fontcap(struct GFONT_CAP *)
Free allocated GFONT_CAP structure.
void soft_text_freetype(const char *)
Definition text3.c:264
int font_init(const char *)
Definition font2.c:180
void get_text_ext_freetype(const char *, double *, double *, double *, double *)
Definition text3.c:269
int get_char_vects(unsigned char, int *, unsigned char **, unsigned char **)
Definition font2.c:191
void get_text_ext(const char *, double *, double *, double *, double *)
Definition text2.c:90
int font_get_index(void)
const struct driver * driver
Definition driver/init.c:25