Logo Search packages:      
Sourcecode: berusky version File versions  Download package

Public Member Functions | Private Attributes

font Class Reference

Collaboration diagram for font:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void alignment_set (ALIGNMENT al)
int extra_height_get (int font_index=-1)
void extra_height_set (int height=-1, int font_index=-1)
 font (GRAPH_2D *p_graph)
void free (int font_index)
int height_get (char c= 'A')
int height_get (char *p_string)
int height_get_new_line (char c)
int height_get_new_line (char *p_string)
bool load (int font_index, int first, int num)
void new_line (void)
void print (RECT *p_res, tpos x, tpos y, const char *p_text,...)
void print (RECT *p_res, tpos x, tpos y, int lines, const char *p_text,...)
void print (char *p_string, RECT *p_res=NULL, int lines=0)
void select (int font_index)
void start_set (tpos x, tpos y)
int width_get (char c)
int width_get (char *p_string)

Private Attributes

ALIGNMENT align
tpos ax
tpos ay
FONT_INFO finfo [FONT_NUM]
int font_selected
tpos sx
tpos sy

Detailed Description

Definition at line 809 of file 2d_graph.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index