2 #ifndef MATH_BRACEINSET_H
3 #define MATH_BRACEINSET_H
5 #include "math_nestinset.h"
15 class MathBraceInset : public MathNestInset {
20 MathBraceInset(MathArray const & ar);
22 MathInset * clone() const;
23 /// we write extra braces in any case...
24 bool extraBraces() const { return true; }
26 void draw(MathPainterInfo &, int x, int y) const;
28 void write(WriteStream & os) const;
29 /// write normalized content
30 void normalize(NormalStream & ns) const;
32 void metrics(MathMetricsInfo & mi) const;
34 void infoize(std::ostream & os) const;
37 /// width of brace character