Photon 1.0.0
|
#include <Font.h>
Public Member Functions | |
virtual int | text_width (string text)=0 |
virtual void | draw_text (canvas &canvas, string text, color color, int x, int y)=0 |
![]() | |
font_metrics () | |
int | base_line () const |
Static Public Member Functions | |
static Font * | create (string face, int size, int weight) |
Additional Inherited Members | |
![]() | |
int | font_size |
int | height |
int | ascent |
int | descent |
int | x_height |
int | ch_width |
bool | draw_spaces |
|
static |
|
pure virtual |
Implemented in RasterFont, and OutlineFont.
|
pure virtual |
Implemented in RasterFont, and OutlineFont.