GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
|
Display Driver - initialization. More...
#include <grass/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/fontcap.h>
#include "driverlib.h"
#include "driver.h"
Go to the source code of this file.
Functions | |
void | LIB_init (const struct driver *drv) |
Initialize display driver. More... | |
Variables | |
const struct driver * | driver |
struct GFONT_CAP * | ftcap |
int | screen_width |
int | screen_height |
double | cur_x |
double | cur_y |
double | text_size_x |
double | text_size_y |
double | text_rotation |
double | text_sinrot |
double | text_cosrot |
int | matrix_valid |
Display Driver - initialization.
(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 driver/init.c.
void LIB_init | ( | const struct driver * | drv | ) |
Initialize display driver.
drv | pointer to driver structure |
Definition at line 47 of file driver/init.c.
References COM_Graph_set(), COM_Set_window(), DEF_HEIGHT, DEF_WIDTH, ftcap, parse_fontcap(), screen_height, and screen_width.
double cur_x |
Definition at line 32 of file driver/init.c.
Referenced by BM_get_sparse(), BM_set_sparse(), COM_Pos_abs(), and dig_prune().
double cur_y |
Definition at line 33 of file driver/init.c.
Referenced by COM_Pos_abs(), and dig_prune().
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().
struct GFONT_CAP* ftcap |
Definition at line 27 of file driver/init.c.
Referenced by free_fontcap(), and LIB_init().
int matrix_valid |
Definition at line 40 of file driver/init.c.
Referenced by COM_Text_rotation(), and COM_Text_size().
int screen_height |
Definition at line 30 of file driver/init.c.
Referenced by LIB_init(), and PNG_Graph_set().
int screen_width |
Definition at line 29 of file driver/init.c.
Referenced by G_ls_format(), LIB_init(), and PNG_Graph_set().
double text_cosrot |
Definition at line 39 of file driver/init.c.
Referenced by COM_Text_rotation().
double text_rotation |
Definition at line 37 of file driver/init.c.
Referenced by COM_Text_rotation().
double text_sinrot |
Definition at line 38 of file driver/init.c.
Referenced by COM_Text_rotation().
double text_size_x |
Definition at line 35 of file driver/init.c.
Referenced by COM_Text_size().
double text_size_y |
Definition at line 36 of file driver/init.c.
Referenced by COM_Text_size().