Loading...
Searching...
No Matches
driverlib.h
Go to the documentation of this file.
#define DEF_WIDTH 640
#define DEF_HEIGHT 480
#include "driver.h"
extern const struct driver *driver;
/* Utility Functions */
/* Font.c */
int font_get_type(void);
const char *font_get_encoding(void);
/* Text2.c */
void get_text_ext(const char *, double *, double *, double *, double *);
void soft_text(const char *);
/* Text3.c */
void soft_text_freetype(const char *);
void get_text_ext_freetype(const char *, double *, double *, double *,
double *);
/* font2.c */
int font_init(const char *);
int get_char_vects(unsigned char, int *, unsigned char **, unsigned char **);
/* font_freetype.c */
int font_init_freetype(const char *, int);
const char *font_get_freetype_name(void);
int font_get_index(void);
/* parse_ftcap.c */
extern int font_exists(const char *);
extern int parse_fontcap_entry(struct GFONT_CAP *, const char *);
extern struct GFONT_CAP *parse_fontcap(void);
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