#include <fontvga.h>
Inheritance diagram for Fonts_vga_file:
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) |
Font * | get_font (int fontnum) |
Private Attributes | |
Font | fonts [11] |
Definition at line 34 of file fontvga.h.
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] |
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().