GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
driver/init.c File Reference
#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"
Include dependency graph for driver/init.c:

Go to the source code of this file.

Functions

int LIB_init (const struct driver *drv, int argc, char **argv)
 

Variables

struct driverdriver
 
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 }
 

Function Documentation

int LIB_init ( const struct driver drv,
int  argc,
char **  argv 
)

Variable Documentation

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 }
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().