4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
22 TextPainter(int xmax, int ymax);
24 void draw(int x, int y, char const * str);
26 void draw(int x, int y, char c);
28 void show(std::ostream & os, int offset = 0) const;
30 int textheight() const { return ymax_; }
32 void horizontalLine(int x, int y, int len, char c = '-');
34 void verticalLine(int x, int y, int len, char c = '|');
38 typedef std::vector<char> data_type;
40 char at(int x, int y) const;
42 char & at(int x, int y);
44 /// xsize of the painter area
46 /// ysize of the painter area