libdrawtext
diff src/drawtext_impl.h @ 58:11c8b34b0da5
implemented the metrics functions
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Sat, 17 Sep 2011 10:09:58 +0300 |
parents | 095ff7ca4e74 |
children | 55c034e70809 |
line diff
1.1 --- a/src/drawtext_impl.h Fri Sep 16 08:42:07 2011 +0300 1.2 +++ b/src/drawtext_impl.h Sat Sep 17 10:09:58 2011 +0300 1.3 @@ -56,7 +56,17 @@ 1.4 }; 1.5 1.6 1.7 +struct dtx_font *dtx_font; 1.8 +int dtx_font_sz; 1.9 + 1.10 + 1.11 #define fperror(str) \ 1.12 fprintf(stderr, "%s: %s: %s\n", __func__, (str), strerror(errno)) 1.13 1.14 +int dtx_gl_init(void); 1.15 + 1.16 +/* returns zero if it should NOT be printed and modifies xpos/ypos */ 1.17 +/* implemented in font.c */ 1.18 +struct dtx_glyphmap *dtx_proc_char(int code, float *xpos, float *ypos); 1.19 + 1.20 #endif /* TEXT_IMPL_H_ */