diff options
Diffstat (limited to 'text.h')
-rw-r--r-- | text.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#ifndef TEXT_H_ +#define TEXT_H_ + +typedef struct Font Font; + +char const *text_get_err(void); +extern Font *text_font_load(char const *ttf_filename, float font_size); +extern void text_render(Font *font, char const *text, float x, float y); +extern void text_get_size(Font *font, char const *text, float *width, float *height); + +#endif |