summaryrefslogtreecommitdiff
path: root/text.h
blob: c855ec9222cf64574e976d353270ba542869b754 (plain)
1
2
3
4
5
6
7
8
9
10
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