2 #ifndef MATH_BOXINSET_H
3 #define MATH_BOXINSET_H
5 #include "math_diminset.h"
17 /// Support for \\mbox
19 class MathBoxInset : public MathDimInset {
22 explicit MathBoxInset(string const &);
24 MathBoxInset(MathBoxInset const &);
28 MathInset * clone() const;
30 void draw(Painter &, int x, int y) const;
32 void write(MathWriteInfo & os) const;
34 void writeNormal(std::ostream &) const;
36 void metrics(MathMetricsInfo const & st) const;
37 /// identifies BoxInsets
38 MathBoxInset * asBoxInset() { return this; }
42 void operator=(MathBoxInset const &);
49 mutable Buffer * buffer_;