GRASS GIS 8 Programmer's Manual 8.3.2(2024)-exported
|
Display Driver - fontcaps. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include <grass/fontcap.h>
#include "driverlib.h"
Go to the source code of this file.
Functions | |
int | font_exists (const char *name) |
Check if font exists. | |
int | parse_fontcap_entry (struct GFONT_CAP *e, const char *str) |
Parse fontcap entry. | |
struct GFONT_CAP * | parse_fontcap (void) |
Parse fontcaps. | |
void | free_fontcap (struct GFONT_CAP *ftcap) |
Free allocated GFONT_CAP structure. | |
Display Driver - fontcaps.
(C) 2006-2011 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file parse_ftcap.c.
int font_exists | ( | const char * | name | ) |
Check if font exists.
Definition at line 27 of file parse_ftcap.c.
References name.
Referenced by COM_Set_font(), and parse_fontcap_entry().
void free_fontcap | ( | struct GFONT_CAP * | ftcap | ) |
struct GFONT_CAP * parse_fontcap | ( | void | ) |
Parse fontcaps.
Definition at line 73 of file parse_ftcap.c.
References file, G_gisbase(), G_warning(), NULL, and parse_fontcap_entry().
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 font_exists(), G_store(), and name.
Referenced by COM_Set_font(), and parse_fontcap().