2 #ifndef MATH_BRACEINSET_H
3 #define MATH_BRACEINSET_H
5 #include "math_nestinset.h"
6 #include "math_metricsinfo.h"
16 class MathBraceInset : public MathNestInset {
21 MathInset * clone() const;
23 MathBraceInset * asBraceInset() { return this; }
25 void draw(MathPainterInfo &, int x, int y) const;
27 void write(WriteStream & os) const;
28 /// write normalized content
29 void normalize(NormalStream &) const;
31 void metrics(MathMetricsInfo & st) const;
34 /// width of brace character