]> icculus.org git repositories - dana/openbox.git/blob - render/font.h
fix a bunch of memleaks from valgrind and stuff
[dana/openbox.git] / render / font.h
1 #ifndef __font_h
2 #define __font_h
3 #include "render.h"
4 #include "geom.h"
5
6 struct _RrFont {
7     const RrInstance *inst;
8     XftFont *xftfont;
9     gint elipses_length;
10     gint shadow;
11     gchar tint;
12     gint offset;
13 };
14
15 RrFont *RrFontOpen(const RrInstance *inst, char *fontstring);
16 void RrFontClose(RrFont *f);
17 void RrFontDraw(XftDraw *d, RrTextureText *t, RrRect *position);
18 #endif /* __font_h */