openbox/render/font.h

18 lines
420 B
C
Raw Normal View History

2003-03-16 22:34:05 +00:00
#ifndef __font_h
#define __font_h
#define _XFT_NO_COMPAT_ /* no Xft 1 API */
2003-03-16 22:34:05 +00:00
#include <X11/Xft/Xft.h>
#include "render.h"
#include "kernel/geom.h"
2003-03-16 22:34:05 +00:00
struct _RrFont {
2003-06-21 01:53:26 +00:00
const RrInstance *inst;
XftFont *xftfont;
gint elipses_length;
};
2003-06-21 02:15:13 +00:00
RrFont *RrFontOpen(const RrInstance *inst, char *fontstring);
void RrFontClose(RrFont *f);
void RrFontDraw(XftDraw *d, RrTextureText *t, Rect *position);
2003-03-16 22:34:05 +00:00
#endif /* __font_h */