- unsigned int measureString(const std::string &string) const;
-
- void drawString(Drawable d, int x, int y, const BColor &color,
- const std::string &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 std::string &string, bool utf8 = true) const;