GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <grass/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/freetypecap.h>
#include "driverlib.h"
#include "driver.h"
#include "pad.h"
Go to the source code of this file.
Functions | |
int | LIB_init (const struct driver *drv, int argc, char **argv) |
Variables | |
struct driver * | driver |
struct GFONT_CAP * | ftcap |
int | NCOLORS |
int | screen_left |
int | screen_right |
int | screen_bottom |
int | screen_top |
int | cur_x |
int | cur_y |
double | text_size_x |
double | text_size_y |
double | text_rotation |
int | mouse_button [3] = { 1, 2, 3 } |
Definition at line 46 of file driver/init.c.
References COM_Graph_set(), create_pad(), DEF_HEIGHT, DEF_WIDTH, ftcap, getenv(), mouse_button, parse_freetypecap(), screen_bottom, screen_left, screen_right, and screen_top.
Referenced by LOC_open_driver().
int cur_x |
Definition at line 37 of file driver/init.c.
Referenced by BM_get_sparse(), BM_set_sparse(), Cairo_draw_bitmap(), COM_Box_rel(), COM_Cont_abs(), COM_Cont_rel(), COM_Get_text_box(), COM_Move_abs(), COM_Move_rel(), COM_Polygon_rel(), COM_Text(), dig_prune(), PNG_draw_bitmap(), and PS_draw_bitmap().
int cur_y |
Definition at line 38 of file driver/init.c.
Referenced by Cairo_draw_bitmap(), COM_Box_rel(), COM_Cont_abs(), COM_Cont_rel(), COM_Get_text_box(), COM_Move_abs(), COM_Move_rel(), COM_Polygon_rel(), COM_Text(), dig_prune(), PNG_draw_bitmap(), and PS_draw_bitmap().
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().
struct GFONT_CAP* ftcap |
Definition at line 28 of file driver/init.c.
Referenced by COM_Font_get(), and LIB_init().
int mouse_button[3] = { 1, 2, 3 } |
Definition at line 44 of file driver/init.c.
Referenced by COM_Get_location_with_box(), COM_Get_location_with_line(), COM_Get_location_with_pointer(), and LIB_init().
int NCOLORS |
Definition at line 30 of file driver/init.c.
Referenced by COM_Number_of_colors(), init_color_table(), PNG_color(), and PS_color().
int screen_bottom |
Definition at line 34 of file driver/init.c.
Referenced by COM_Screen_bot(), LIB_init(), PNG_Graph_set(), PNG_Set_window(), and PS_Erase().
int screen_left |
Definition at line 32 of file driver/init.c.
Referenced by COM_Screen_left(), LIB_init(), PNG_Graph_set(), PNG_Set_window(), and PS_Erase().
int screen_right |
Definition at line 33 of file driver/init.c.
Referenced by COM_Screen_rite(), LIB_init(), PNG_Graph_set(), PNG_Set_window(), and PS_Erase().
int screen_top |
Definition at line 35 of file driver/init.c.
Referenced by COM_Screen_top(), LIB_init(), PNG_Graph_set(), PNG_Set_window(), and PS_Erase().
double text_rotation |
Definition at line 42 of file driver/init.c.
Referenced by COM_Get_text_box(), COM_Text(), and COM_Text_rotation().
double text_size_x |
Definition at line 40 of file driver/init.c.
Referenced by COM_Get_text_box(), COM_Text(), and COM_Text_size().
double text_size_y |
Definition at line 41 of file driver/init.c.
Referenced by COM_Get_text_box(), COM_Text(), and COM_Text_size().