10 TextPainter(int xmax, int ymax);
12 void draw(int x, int y, char const * str);
14 void draw(int x, int y, char c);
16 void show(std::ostream & os, int offset = 0) const;
18 int textheight() const { return ymax_; }
20 void horizontalLine(int x, int y, int len, char c = '-');
22 void verticalLine(int x, int y, int len, char c = '|');
26 typedef std::vector<char> data_type;
28 char at(int x, int y) const;
30 char & at(int x, int y);
32 /// xsize of the painter area
34 /// ysize of the painter area