21 void metrics(MathStyles st) const;
23 void draw(Painter & pain, int x, int y) const;
26 int xo() const { return xo_; }
28 int yo() const { return yo_; }
30 int pos2x(int pos) const;
32 int x2pos(int pos) const;
34 int width(int pos) const;
37 int ascent() const { return ascent_; }
39 int descent() const { return descent_; }
41 int height() const { return ascent_ + descent_; }
43 int width() const { return width_; }
45 MathStyles style() const { return style_; }
61 mutable MathStyles style_;
64 std::ostream & operator<<(std::ostream & os, MathXArray const & ar);