GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
driverlib.h File Reference
#include "driver.h"
Include dependency graph for driverlib.h:
This graph shows which files directly or indirectly include this file:

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 driverdriver
 

Macro Definition Documentation

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

Function Documentation

void command_init ( int  ,
int   
)

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 ( const char *  )

Definition at line 180 of file font2.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().

int font_init_freetype ( const char *  ,
int   
)

Definition at line 10 of file font_freetype.c.

References G_free(), and G_store().

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 
)

Definition at line 104 of file Font.c.

References count, and G_free().

void free_freetypecap ( struct GFONT_CAP *  ftcap)

Definition at line 85 of file parse_ftcap.c.

References G_free(), render::name, and NULL.

int get_char_vects ( unsigned  char,
int ,
unsigned char **  ,
unsigned char **   
)

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 530 of file command.c.

References G_warning().

Referenced by LIB_main().

int get_connection_sock ( int  ,
int ,
int ,
int   
)

Referenced by LIB_main().

void get_text_ext ( int ,
int ,
int ,
int  
)

Definition at line 128 of file text2.c.

References b, l, and r.

Referenced by COM_Get_text_box().

void get_text_ext_freetype ( int ,
int ,
int ,
int  
)

Definition at line 298 of file text3.c.

Referenced by COM_Get_text_box().

void onechar ( int  ,
int  ,
double  ,
double  ,
double  ,
unsigned  char 
)

Definition at line 156 of file text2.c.

References D2R, and drawchar().

struct GFONT_CAP* parse_freetypecap ( void  )
int prepare_connection_sock ( const char *  )

Referenced by LIB_main().

void soft_text ( int  ,
int  ,
double  ,
double  ,
double  ,
const char *   
)

Definition at line 139 of file text2.c.

References D2R, and drawchar().

Referenced by COM_Text(), and soft_text_ext().

void soft_text_ext ( int  x,
int  ,
double  ,
double  ,
double  ,
const char *   
)

Definition at line 115 of file text2.c.

References b, l, r, and soft_text().

Referenced by COM_Get_text_box().

void soft_text_ext_freetype ( int  ,
int  ,
double  ,
double  ,
double  ,
const char *   
)

Definition at line 277 of file text3.c.

Referenced by COM_Get_text_box().

void soft_text_freetype ( int  ,
int  ,
double  ,
double  ,
double  ,
const char *   
)

Definition at line 268 of file text3.c.

Referenced by COM_Text().

Variable Documentation