GRASS 8 Programmer's Manual
8.5.0(2026)-8d6ceba290
Toggle main menu visibility
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
6
extern
const
struct
driver
*
driver
;
7
8
/* Utility Functions */
9
10
/* Font.c */
11
int
font_get_type
(
void
);
12
const
char
*
font_get_encoding
(
void
);
13
14
/* Text2.c */
15
void
get_text_ext
(
const
char
*,
double
*,
double
*,
double
*,
double
*);
16
void
soft_text
(
const
char
*);
17
18
/* Text3.c */
19
void
soft_text_freetype
(
const
char
*);
20
void
get_text_ext_freetype
(
const
char
*,
double
*,
double
*,
double
*,
21
double
*);
22
23
/* font2.c */
24
int
font_init
(
const
char
*);
25
int
get_char_vects
(
unsigned
char
,
int
*,
unsigned
char
**,
unsigned
char
**);
26
27
/* font_freetype.c */
28
int
font_init_freetype
(
const
char
*,
int
);
29
const
char
*
font_get_freetype_name
(
void
);
30
int
font_get_index
(
void
);
31
32
/* parse_ftcap.c */
33
extern
int
font_exists
(
const
char
*);
34
extern
int
parse_fontcap_entry
(
struct
GFONT_CAP *,
const
char
*);
35
extern
struct
GFONT_CAP *
parse_fontcap
(
void
);
36
extern
void
free_fontcap
(
struct
GFONT_CAP *);
driver.h
soft_text
void soft_text(const char *)
Definition
text2.c:108
font_exists
int font_exists(const char *)
Check if font exists.
Definition
parse_ftcap.c:27
font_init_freetype
int font_init_freetype(const char *, int)
Definition
font_freetype.c:9
font_get_encoding
const char * font_get_encoding(void)
Definition
font.c:34
parse_fontcap_entry
int parse_fontcap_entry(struct GFONT_CAP *, const char *)
Parse fontcap entry.
Definition
parse_ftcap.c:41
parse_fontcap
struct GFONT_CAP * parse_fontcap(void)
Parse fontcaps.
Definition
parse_ftcap.c:73
font_get_freetype_name
const char * font_get_freetype_name(void)
Definition
font_freetype.c:20
font_get_type
int font_get_type(void)
Definition
font.c:29
free_fontcap
void free_fontcap(struct GFONT_CAP *)
Free allocated GFONT_CAP structure.
Definition
parse_ftcap.c:126
soft_text_freetype
void soft_text_freetype(const char *)
Definition
text3.c:264
font_init
int font_init(const char *)
Definition
font2.c:181
get_text_ext_freetype
void get_text_ext_freetype(const char *, double *, double *, double *, double *)
Definition
text3.c:269
get_char_vects
int get_char_vects(unsigned char, int *, unsigned char **, unsigned char **)
Definition
font2.c:195
get_text_ext
void get_text_ext(const char *, double *, double *, double *, double *)
Definition
text2.c:90
font_get_index
int font_get_index(void)
Definition
font_freetype.c:25
driver
Definition
driver.h:27
driver
driverlib.h
Generated on
for GRASS 8 Programmer's Manual by
1.17.0