GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
#include "driver.h"
Go to the source code of this file.
Macros | |
#define | DEF_WIDTH 640 |
#define | DEF_HEIGHT 480 |
Functions | |
int | font_get_type (void) |
const char * | font_get_encoding (void) |
void | get_text_ext (const char *, double *, double *, double *, double *) |
void | soft_text (const char *) |
void | soft_text_freetype (const char *) |
void | get_text_ext_freetype (const char *, double *, double *, double *, double *) |
int | font_init (const char *) |
int | get_char_vects (unsigned char, int *, unsigned char **, unsigned char **) |
int | font_init_freetype (const char *, int) |
const char * | font_get_freetype_name (void) |
int | font_get_index (void) |
int | font_exists (const char *) |
Check if font exists. More... | |
int | parse_fontcap_entry (struct GFONT_CAP *, const char *) |
Parse fontcap entry. More... | |
struct GFONT_CAP * | parse_fontcap (void) |
Parse fontcaps. More... | |
void | free_fontcap (struct GFONT_CAP *) |
Free allocated GFONT_CAP structure. More... | |
Variables | |
const struct driver * | driver |
#define DEF_HEIGHT 480 |
Definition at line 2 of file driverlib.h.
#define DEF_WIDTH 640 |
Definition at line 1 of file driverlib.h.
int font_exists | ( | const char * | name | ) |
const char* font_get_freetype_name | ( | void | ) |
Definition at line 20 of file font_freetype.c.
int font_get_index | ( | void | ) |
Definition at line 25 of file font_freetype.c.
int font_get_type | ( | void | ) |
Definition at line 29 of file font.c.
Referenced by COM_Get_text_box(), and COM_Text().
int font_init_freetype | ( | const char * | name, |
int | index | ||
) |
Definition at line 9 of file font_freetype.c.
void free_fontcap | ( | struct GFONT_CAP * | ftcap | ) |
Free allocated GFONT_CAP structure.
ftcap | pointer to GFONT_CAP to be freed |
Definition at line 126 of file parse_ftcap.c.
References ftcap, G_free(), GFONT_CAP::longname, GFONT_CAP::name, name, and NULL.
int get_char_vects | ( | unsigned char | achar, |
int * | n, | ||
unsigned char ** | X, | ||
unsigned char ** | Y | ||
) |
void get_text_ext | ( | const char * | string, |
double * | top, | ||
double * | bot, | ||
double * | left, | ||
double * | rite | ||
) |
Definition at line 90 of file text2.c.
References rectangle::b, rectangle::l, rectangle::r, and rectangle::t.
Referenced by COM_Get_text_box().
void get_text_ext_freetype | ( | const char * | string, |
double * | top, | ||
double * | bot, | ||
double * | left, | ||
double * | rite | ||
) |
Definition at line 269 of file text3.c.
References rectangle::b, rectangle::l, rectangle::r, and rectangle::t.
Referenced by COM_Get_text_box().
struct GFONT_CAP* parse_fontcap | ( | void | ) |
Parse fontcaps.
Definition at line 73 of file parse_ftcap.c.
References _, file, G_gisbase(), G_realloc, G_warning(), GPATH_MAX, GFONT_CAP::name, NULL, parse_fontcap_entry(), and GFONT_CAP::path.
Referenced by LIB_init().
int parse_fontcap_entry | ( | struct GFONT_CAP * | e, |
const char * | str | ||
) |
Parse fontcap entry.
e | pointer to GFONT_CAP struct |
str | ? |
Definition at line 41 of file parse_ftcap.c.
References GNAME_MAX, GPATH_MAX, and name.
Referenced by parse_fontcap().
void soft_text | ( | const char * | string | ) |
Definition at line 108 of file text2.c.
Referenced by COM_Text().
void soft_text_freetype | ( | const char * | string | ) |
Definition at line 264 of file text3.c.
Referenced by COM_Text().
Definition at line 25 of file driver/init.c.
Referenced by db_delete_table(), db_open_insert_cursor(), db_start_driver(), db_start_driver_open_database(), db_table_exists(), and Rast_create_gdal_link().