Fonts_vga_file Class Reference

#include <fontvga.h>

Inheritance diagram for Fonts_vga_file:

Inheritance graph
[legend]
Collaboration diagram for Fonts_vga_file:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Fonts_vga_file ()
void init ()
int paint_text_box (Image_buffer8 *win, int fontnum, const char *text, int x, int y, int w, int h, int vert_lead=0, int pbreak=0)
int paint_text (Image_buffer8 *win, int fontnum, const char *text, int xoff, int yoff)
int paint_text (Image_buffer8 *win, int fontnum, const char *text, int textlen, int xoff, int yoff)
int get_text_width (int fontnum, const char *text)
int get_text_width (int fontnum, const char *text, int textlen)
int get_text_height (int fontnum)
int get_text_baseline (int fontnum)
Fontget_font (int fontnum)

Private Attributes

Font fonts [11]

Detailed Description

Definition at line 34 of file fontvga.h.


Constructor & Destructor Documentation

Fonts_vga_file::Fonts_vga_file (  )  [inline]

Definition at line 38 of file fontvga.h.


Member Function Documentation

void Fonts_vga_file::init (  ) 

Definition at line 58 of file fontvga.cc.

References FONTS_VGA, hlead, Shape::load(), PATCH_FONTS, and U7exists().

Here is the call graph for this function:

int Fonts_vga_file::paint_text_box ( Image_buffer8 win,
int  fontnum,
const char *  text,
int  x,
int  y,
int  w,
int  h,
int  vert_lead = 0,
int  pbreak = 0 
) [inline]

Definition at line 42 of file fontvga.h.

References fonts, and Font::paint_text_box().

Referenced by Shape_manager::paint_text_box().

Here is the call graph for this function:

int Fonts_vga_file::paint_text ( Image_buffer8 win,
int  fontnum,
const char *  text,
int  xoff,
int  yoff 
) [inline]

Definition at line 47 of file fontvga.h.

References fonts, and Font::paint_text().

Referenced by Shape_manager::paint_text().

Here is the call graph for this function:

int Fonts_vga_file::paint_text ( Image_buffer8 win,
int  fontnum,
const char *  text,
int  textlen,
int  xoff,
int  yoff 
) [inline]

Definition at line 50 of file fontvga.h.

References fonts, and Font::paint_text().

Here is the call graph for this function:

int Fonts_vga_file::get_text_width ( int  fontnum,
const char *  text 
) [inline]

Definition at line 55 of file fontvga.h.

References fonts, and Font::get_text_width().

Referenced by Shape_manager::get_text_width().

Here is the call graph for this function:

int Fonts_vga_file::get_text_width ( int  fontnum,
const char *  text,
int  textlen 
) [inline]

Definition at line 57 of file fontvga.h.

References fonts, and Font::get_text_width().

Here is the call graph for this function:

int Fonts_vga_file::get_text_height ( int  fontnum  )  [inline]

Definition at line 60 of file fontvga.h.

References fonts, and Font::get_text_height().

Referenced by Shape_manager::get_text_height().

Here is the call graph for this function:

int Fonts_vga_file::get_text_baseline ( int  fontnum  )  [inline]

Definition at line 62 of file fontvga.h.

References fonts, and Font::get_text_baseline().

Referenced by Shape_manager::get_text_baseline().

Here is the call graph for this function:

Font* Fonts_vga_file::get_font ( int  fontnum  )  [inline]

Definition at line 65 of file fontvga.h.

References fonts.

Referenced by Shape_manager::get_font().


Member Data Documentation

Font Fonts_vga_file::fonts[11] [private]

Definition at line 36 of file fontvga.h.

Referenced by get_font(), get_text_baseline(), get_text_height(), get_text_width(), paint_text(), and paint_text_box().


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 14:51:55 2007 for ExultEngine by  doxygen 1.5.1