#include <font_ttf.h>
Inheritance diagram for CL_Font_TTF:


Public Methods | |
| CL_Font_TTF (CL_String name, CL_InputSourceProvider *provider) | |
| virtual | ~CL_Font_TTF () |
| virtual int | get_height () |
| virtual int | get_text_width (const char *text) |
| virtual int | get_char_width (const char character) |
| virtual void | print_left (int x, int y, const char *text, int n_height=1) |
| virtual void | print_left (int x, int y, float scale_x, float scale_y, const char *text) |
| virtual void | print_center (int x, int y, const char *text) |
| virtual void | print_right (int x, int y, const char *text) |
| virtual void | put_target (int x, int y, const char *text, CL_Target *target, int alignment) |
| int | change_size (int size) |
| unsigned int | change_colour (unsigned char r, unsigned char g, unsigned char b, unsigned char a) |
Protected Methods | |
| void | generate_font () |
Protected Attributes | |
| int | num_faces |
| int | num_glyphs |
| unsigned int | flags |
| int | num_fixed_sizes |
| CL_InputSourceProvider* | input_provider |
| CL_InputSource* | input_source |
| CL_String | filename |
| CL_Surface* | chars [256] |
| font_adj | adjust [256] |
| bool | chars_init |
| int | width |
| int | height |
| int | space_len |
| int | subtract_width |
| unsigned char* | font_mem |
| int* | font_sizes |
| int | size |
| unsigned char | r |
| unsigned char | g |
| unsigned char | b |
| unsigned char | a |
|
|
|
|
|
|
|
|
Reimplemented from CL_Font_Generic. |
|
|
Reimplemented from CL_Font_Generic. |
|
|
|
|
|
Reimplemented from CL_Font_Generic. |
|
|
Reimplemented from CL_Font_Generic. Definition at line 42 of file font_ttf.h. |
|
|
Reimplemented from CL_Font_Generic. |
|
|
Reimplemented from CL_Font_Generic. |
|
|
Reimplemented from CL_Font_Generic. |
|
|
Reimplemented from CL_Font_Generic. |
|
|
Reimplemented from CL_Font_Generic. |
|
|
Reimplemented from CL_Font_Generic. |
|
|
Definition at line 81 of file font_ttf.h. |
|
|
Definition at line 69 of file font_ttf.h. |
|
|
Definition at line 81 of file font_ttf.h. |
|
|
Definition at line 68 of file font_ttf.h. |
|
|
Definition at line 70 of file font_ttf.h. |
|
|
Definition at line 66 of file font_ttf.h. |
|
|
Definition at line 61 of file font_ttf.h. |
|
|
Definition at line 77 of file font_ttf.h. |
|
|
Definition at line 78 of file font_ttf.h. |
|
|
Definition at line 81 of file font_ttf.h. |
|
|
Definition at line 73 of file font_ttf.h. |
|
|
Definition at line 64 of file font_ttf.h. |
|
|
Definition at line 65 of file font_ttf.h. |
|
|
Definition at line 59 of file font_ttf.h. |
|
|
Definition at line 62 of file font_ttf.h. |
|
|
Definition at line 60 of file font_ttf.h. |
|
|
Definition at line 81 of file font_ttf.h. |
|
|
Definition at line 79 of file font_ttf.h. |
|
|
Definition at line 74 of file font_ttf.h. |
|
|
Definition at line 75 of file font_ttf.h. |
|
|
Definition at line 72 of file font_ttf.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001