add font_draw
[openbox.git] / render / font.h
blob28a5c5ede3a43dba0ced8a91b12511bf167c3d86
1 #ifndef __font_h
2 #define __font_h
3 #include <X11/Xft/Xft.h>
4 #include "render.h"
6 void font_startup(void);
7 ObFont *font_open(char *fontstring);
8 void font_close(ObFont *f);
9 int font_measure_string(ObFont *f, const char *str, int shadow, int offset);
10 int font_height(ObFont *f, int shadow, int offset);
11 int font_max_char_width(ObFont *f);
12 void font_draw(XftDraw *d, TextureText *t);
13 #endif /* __font_h */