]> Dogcows Code - chaz/openbox/blob - render/font.h
more namespacing with Rr*
[chaz/openbox] / render / font.h
1 #ifndef __font_h
2 #define __font_h
3 #define _XFT_NO_COMPAT_ /* no Xft 1 API */
4 #include <X11/Xft/Xft.h>
5 #include "render.h"
6 #include "kernel/geom.h"
7
8 struct _RrFont {
9 const RrInstance *inst;
10 XftFont *xftfont;
11 gint elipses_length;
12 };
13
14 RrFont *RrFontOpen(const RrInstance *inst, char *fontstring);
15 void RrFontClose(RrFont *f);
16 void RrFontDraw(XftDraw *d, RrTextureText *t, Rect *position);
17 #endif /* __font_h */
This page took 0.03205 seconds and 4 git commands to generate.