#include <font.h>
Inheritance diagram for CL_Font:

Attributes | |
| bool | is_null () |
| Is Null. | |
| CL_FontProvider * | get_provider () const |
| Retrieves the font provider. | |
Public Member Functions | |
Construction | |
| CL_Font () | |
| Constructs a font. | |
| CL_Font (CL_GraphicContext &context, const CL_StringRef &typeface_name, int height) | |
| CL_Font (CL_GraphicContext &context, const CL_FontDescription &desc) | |
| CL_Font (CL_FontProvider *provider) | |
| Constructs a Font. | |
| CL_Font (const CL_Font ©) | |
| Constructs a Font. | |
| virtual | ~CL_Font () |
|
|
Constructs a font.
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
|
Constructs a Font.
|
|
|
Constructs a Font.
|
|
|
|
|
||||||||||||||||||||
|
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 in CL_Font_Freetype, CL_Font_Sprite, CL_Font_System, and CL_Font_Vector. |
|
||||||||||||
|
Calculate size of text string.
Multiline text (seperated by /n) is supported |
|
|
Is Null.
|
1.4.6