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