20 typedef MathArray::size_type size_type;
25 void metrics(MathStyles st) const;
27 void draw(Painter & pain, int x, int y) const;
30 int xo() const { return xo_; }
32 int yo() const { return yo_; }
34 int pos2x(size_type pos) const;
36 size_type x2pos(int pos) const;
38 int width(size_type pos) const;
41 int ascent() const { return ascent_; }
43 int descent() const { return descent_; }
45 int height() const { return ascent_ + descent_; }
47 int width() const { return width_; }
49 MathStyles style() const { return style_; }
65 mutable MathStyles style_;
68 std::ostream & operator<<(std::ostream & os, MathXArray const & ar);