#define __font_hh
#include "ustring.hh"
+#include "truerendercontrol.hh"
extern "C" {
#include <X11/Xlib.h>
namespace otk {
class Color;
+class Surface;
class Font {
/*
unsigned int measureString(const ustring &string) const;
- //! Draws a string into an XftDraw object
- /*!
- Be Warned: If you use an XftDraw object and a color, or a font from
- different screens, you WILL have unpredictable results! :)
- */
- void drawString(XftDraw *d, int x, int y, const Color &color,
- const ustring &string) const;
+ // The RenderControl classes use the internal data to render the fonts, but
+ // noone else needs it, so its private.
+ friend class RenderControl;
};
}