]> git.lyx.org Git - lyx.git/blobdiff - src/Painter.h
Small fix.
[lyx.git] / src / Painter.h
index 9c5ea73700736cfdf70081bf785633e76c3cfa57..7bba9cdde2fa77d42091a068296b80ca6439001e 100644 (file)
@@ -36,9 +36,6 @@ public:
        /// Constructor 
        explicit Painter(WorkArea &);
        
-       /// Destructor
-       ~Painter();
-       
        /**@Basic drawing routines */
        /// Draw a line from point to point
        PainterBase & line(int x1, int y1, int x2, int y2, 
@@ -99,7 +96,10 @@ public:
        
        /// Draw a char at position x, y (y is the baseline)
        PainterBase & text(int x, int y, char c, LyXFont const & f);
-       
+
+       /// Draw a wide string at position x, y
+       PainterBase & text(int x, int y, XChar2b const * str, int l,
+                  LyXFont const & f);  
 private:
        /// Check the font, and if set, draw an underline
        void underline(LyXFont const & f, int x, int y, int width);