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.
16 #include "support/docstream.h"
23 TextPainter(int xmax, int ymax);
25 void draw(int x, int y, char const * str);
27 void draw(int x, int y, char c);
29 void show(lyx::odocstream & os, int offset = 0) const;
31 int textheight() const { return ymax_; }
33 void horizontalLine(int x, int y, int len, char c = '-');
35 void verticalLine(int x, int y, int len, char c = '|');
39 typedef std::vector<char> data_type;
41 char at(int x, int y) const;
43 char & at(int x, int y);
45 /// xsize of the painter area
47 /// ysize of the painter area