2 #ifndef MATH_BRACEINSET_H
3 #define MATH_BRACEINSET_H
5 #include "math_nestinset.h"
15 class MathBraceInset : public MathNestInset {
20 MathInset * clone() const;
22 MathBraceInset * asBraceInset() { return this; }
24 void draw(MathPainterInfo &, int x, int y) const;
26 void write(WriteStream & os) const;
27 /// write normalized content
28 void normalize(NormalStream & ns) const;
30 void metrics(MathMetricsInfo & mi) const;
32 void infoize(std::ostream & os) const;
35 /// width of brace character