#include <font_freetype.h>
Inheritance diagram for CL_Font_Freetype:

Public Member Functions | |
Operations | |
| void | draw_text (CL_GraphicContext &gc, int x, int y, const CL_StringRef &text, const CL_Colorf &color=CL_Colorf::white) |
| Print text on gc. | |
| void | draw_text (CL_GraphicContext &gc, float x, float y, const CL_StringRef &text, const CL_Colorf &color=CL_Colorf::white) |
| Print text on gc. | |
| void | draw_text (CL_GraphicContext &gc, const CL_Pointf &position, const CL_StringRef &text, const CL_Colorf &color=CL_Colorf::white) |
| Print text on gc. | |
| CL_Size | get_text_size (CL_GraphicContext &gc, const CL_StringRef &text) |
| Calculate size of text string. | |
| CL_FontMetrics | get_font_metrics (CL_GraphicContext &gc) |
| Retrieves font metrics description for the selected font. | |
| int | get_character_index (CL_GraphicContext &gc, const CL_String &text, const CL_Point &point) |
| Get the character index at a specified point. | |
Construction | |
| CL_Font_Freetype () | |
| Constructs freetype font. | |
| CL_Font_Freetype (CL_GraphicContext &gc, const CL_StringRef &typeface_name, int height) | |
| Constructs a Font Freetype. | |
| CL_Font_Freetype (CL_GraphicContext &gc, const CL_StringRef &typeface_name, int height, CL_IODevice &file) | |
| Constructs a Font Freetype. | |
| CL_Font_Freetype (CL_GraphicContext &gc, const CL_StringRef &typeface_name, int height, const CL_VirtualDirectory &directory) | |
| Constructs a Font Freetype. | |
| CL_Font_Freetype (CL_GraphicContext &gc, const CL_FontDescription &desc) | |
| Constructs a Font Freetype. | |
| CL_Font_Freetype (CL_GraphicContext &gc, const CL_FontDescription &desc, CL_IODevice &file) | |
| Constructs a Font Freetype. | |
| CL_Font_Freetype (CL_GraphicContext &gc, const CL_FontDescription &desc, const CL_VirtualDirectory &directory) | |
| Constructs a Font Freetype. | |
| ~CL_Font_Freetype () | |
Attributes | |
| CL_FontProvider_Freetype * | get_provider () const |
| Retrieves the font provider. | |
Operations | |
| void | set_texture_group (CL_TextureGroup &new_texture_group) |
| Set the texture font to use a specified texture group. | |
Attributes | |
| bool | is_null () |
| Is Null. | |
Operations | |
| void | draw_text (CL_GraphicContext &gc, int x, int y, const CL_StringRef &text, const CL_Colorf &color=CL_Colorf::white) |
| Print text on gc. | |
| void | draw_text (CL_GraphicContext &gc, float x, float y, const CL_StringRef &text, const CL_Colorf &color=CL_Colorf::white) |
| Print text on gc. | |
| void | draw_text (CL_GraphicContext &gc, const CL_Pointf &position, const CL_StringRef &text, const CL_Colorf &color=CL_Colorf::white) |
| Print text on gc. | |
| CL_Size | get_text_size (CL_GraphicContext &gc, const CL_StringRef &text) |
| Calculate size of text string. | |
| CL_FontMetrics | get_font_metrics (CL_GraphicContext &gc) |
| Retrieves font metrics description for the selected font. | |
| int | get_character_index (CL_GraphicContext &gc, const CL_String &text, const CL_Point &point) |
| Get the character index at a specified point. | |
|
|
Constructs freetype font.
|
|
||||||||||||||||
|
Constructs a Font Freetype.
|
|
||||||||||||||||||||
|
Constructs a Font Freetype.
|
|
||||||||||||||||||||
|
Constructs a Font Freetype.
|
|
||||||||||||
|
Constructs a Font Freetype.
|
|
||||||||||||||||
|
Constructs a Font Freetype.
|
|
||||||||||||||||
|
Constructs a Font Freetype.
|
|
|
|
|
||||||||||||||||||||
|
Print text on gc. Multiline text (seperated by /n) is supported
|
|
||||||||||||||||||||||||
|
Print text on gc. Multiline text (seperated by /n) is supported
|
|
||||||||||||||||||||||||
|
Print text on gc. Multiline text (seperated by /n) is supported
|
|
||||||||||||||||
|
Get the character index at a specified point. Multiline text (seperated by /n) is supported
|
|
|
Retrieves font metrics description for the selected font.
|
|
|
Retrieves the font provider.
Reimplemented from CL_Font. |
|
||||||||||||
|
Calculate size of text string.
Multiline text (seperated by /n) is supported |
|
|
Is Null.
|
|
|
Set the texture font to use a specified texture group.
|
1.4.6