GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include "driver.h"
Go to the source code of this file.
Macros | |
#define | DEF_WIDTH 640 |
#define | DEF_HEIGHT 480 |
Functions | |
int | font_is_freetype (void) |
void | drawchar (double, double, double, double, unsigned char) |
void | soft_text_ext (int x, int, double, double, double, const char *) |
void | get_text_ext (int *, int *, int *, int *) |
void | soft_text (int, int, double, double, double, const char *) |
void | onechar (int, int, double, double, double, unsigned char) |
void | soft_text_freetype (int, int, double, double, double, const char *) |
void | soft_text_ext_freetype (int, int, double, double, double, const char *) |
void | get_text_ext_freetype (int *, int *, int *, int *) |
int | font_init (const char *) |
int | get_char_vects (unsigned char, int *, unsigned char **, unsigned char **) |
int | font_init_freetype (const char *, int) |
int | font_init_charset (const char *) |
const char * | font_get_freetype_name (void) |
const char * | font_get_charset (void) |
int | font_get_index (void) |
int | get_connection_sock (int, int *, int *, int) |
int | prepare_connection_sock (const char *) |
void | command_init (int, int) |
int | get_command (char *) |
int | process_command (int) |
int | font_exists (const char *name) |
struct GFONT_CAP * | parse_freetypecap (void) |
void | free_freetypecap (struct GFONT_CAP *ftcap) |
void | free_font_list (char **fonts, int num_fonts) |
Variables | |
struct driver * | driver |
#define DEF_HEIGHT 480 |
Definition at line 3 of file driverlib.h.
Referenced by LIB_init().
#define DEF_WIDTH 640 |
Definition at line 2 of file driverlib.h.
Referenced by LIB_init().
Definition at line 82 of file command.c.
Referenced by LIB_main().
void drawchar | ( | double | , |
double | , | ||
double | , | ||
double | , | ||
unsigned | char | ||
) |
Definition at line 60 of file text2.c.
References get_char_vects(), int, X, y, and Y.
Referenced by onechar(), and soft_text().
int font_exists | ( | const char * | name | ) |
Definition at line 9 of file parse_ftcap.c.
References fclose().
Referenced by COM_Font_get(), and parse_freetypecap().
const char* font_get_charset | ( | void | ) |
Definition at line 34 of file font_freetype.c.
References G_store().
const char* font_get_freetype_name | ( | void | ) |
Definition at line 29 of file font_freetype.c.
int font_get_index | ( | void | ) |
Definition at line 41 of file font_freetype.c.
int font_init_charset | ( | const char * | ) |
Definition at line 21 of file font_freetype.c.
References G_free(), and G_store().
Referenced by COM_Font_get(), and COM_Font_init_charset().
Definition at line 10 of file font_freetype.c.
int font_is_freetype | ( | void | ) |
Definition at line 57 of file Font.c.
Referenced by COM_Get_text_box(), and COM_Text().
void free_font_list | ( | char ** | fonts, |
int | num_fonts | ||
) |
void free_freetypecap | ( | struct GFONT_CAP * | ftcap | ) |
Definition at line 85 of file parse_ftcap.c.
References G_free(), render::name, and NULL.
Definition at line 191 of file font2.c.
References glyph::count, int, and glyph::offset.
Referenced by drawchar().
int get_command | ( | char * | ) |
Definition at line 298 of file text3.c.
Referenced by COM_Get_text_box().
Definition at line 156 of file text2.c.
References D2R, and drawchar().
struct GFONT_CAP* parse_freetypecap | ( | void | ) |
Definition at line 21 of file parse_ftcap.c.
References buf, fclose(), file, font_exists(), G_gisbase(), G_store(), G_warning(), getenv(), render::name, NULL, sprintf(), and dialogs::type.
Referenced by LIB_init().
int prepare_connection_sock | ( | const char * | ) |
Referenced by LIB_main().
Definition at line 111 of file command.c.
References append_item(), b, BEGIN, COM_begin_scaled_raster(), COM_Bitmap(), COM_Box_abs(), COM_Box_rel(), COM_Color_RGB(), COM_Cont_abs(), COM_Cont_rel(), COM_end_scaled_raster(), COM_Erase(), COM_Font_get(), COM_Font_info(), COM_Font_init_charset(), COM_Font_list(), COM_Get_location_with_box(), COM_Get_location_with_line(), COM_Get_location_with_pointer(), COM_Get_text_box(), COM_Graph_close(), COM_Line_width(), COM_Move_abs(), COM_Move_rel(), COM_Number_of_colors(), COM_Panel_delete(), COM_Panel_restore(), COM_Panel_save(), COM_Polydots_abs(), COM_Polydots_rel(), COM_Polygon_abs(), COM_Polygon_rel(), COM_Polyline_abs(), COM_Polyline_rel(), COM_Respond(), COM_scaled_raster(), COM_Screen_bot(), COM_Screen_left(), COM_Screen_rite(), COM_Screen_top(), COM_Set_window(), COM_Standard_color(), COM_Text(), COM_Text_rotation(), COM_Text_size(), create_pad(), delete_item(), delete_pad(), find_item(), find_pad(), G_warning(), invent_pad(), _pad_::items, l, _item_::list, _item_::name, _pad_::name, render::name, _list::next, _item_::next, _pad_::next, NO_MEMORY, NULL, OK, pad_list(), r, REC, RECTEXT, SEND, SENDTEXT, transport::text, transport::text_size, _list::value, and y.
Referenced by LIB_main().
Definition at line 139 of file text2.c.
References D2R, and drawchar().
Referenced by COM_Text(), and soft_text_ext().
Definition at line 115 of file text2.c.
References b, l, r, and soft_text().
Referenced by COM_Get_text_box().
Definition at line 277 of file text3.c.
Referenced by COM_Get_text_box().
Definition at line 268 of file text3.c.
Referenced by COM_Text().
Definition at line 26 of file driver/init.c.
Referenced by db_delete_table(), db_open_insert_cursor(), db_open_select_cursor(), db_open_update_cursor(), db_start_driver(), db_start_driver_open_database(), db_table_exists(), F_generate(), G_sites_get_fields(), G_sites_open_old(), NetA_get_node_costs(), NetA_init_timetable_from_db(), submit(), Vect_copy(), Vect_copy_tables(), Vect_read_dblinks(), Vect_rename(), and Vect_set_varray_from_db().