diff options
Diffstat (limited to 'render/font.h')
-rw-r--r-- | render/font.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/render/font.h b/render/font.h index db10b20b2..4d789a208 100644 --- a/render/font.h +++ b/render/font.h @@ -1,5 +1,5 @@ /** - * $Id: font.h,v 1.1 2002/04/25 15:52:26 bursa Exp $ + * $Id: font.h,v 1.2 2002/05/11 15:22:24 bursa Exp $ */ /** @@ -8,6 +8,11 @@ struct font_set; typedef unsigned int font_id; +struct font_split { + unsigned long width; + unsigned long height; + const char * end; +}; /** * interface @@ -17,6 +22,6 @@ struct font_set * font_set_create(void); font_id font_add(struct font_set * font_set, const char * name, unsigned int weight, unsigned int size); void font_set_free(struct font_set * font_set); -unsigned long font_split(struct font_set * font_set, font_id id, const char * text, - unsigned long width, const char ** end); +struct font_split font_split(struct font_set * font_set, font_id id, const char * text, + unsigned long width, int force); |