2 #ifndef MATH_DECORATIONINSET_H
3 #define MATH_DECORATIONINSET_H
5 #include "math_nestinset.h"
12 /** Decorations and accents over (below) a math object
13 \author Alejandro Aguilar Sierra
18 class MathDecorationInset : public MathNestInset {
21 explicit MathDecorationInset(latexkeys const * key);
23 MathInset * clone() const;
25 void draw(MathPainterInfo &, int x, int y) const;
27 void write(WriteStream & os) const;
29 void metrics(MathMetricsInfo & mi) const;
31 void normalize(NormalStream & os) const;
33 void infoize(std::ostream & os) const;
35 bool isScriptable() const;
42 /// is it a wide decoration?
46 latexkeys const * key_;
47 /// height cache of deco
49 /// vertical offset cache of deco
51 /// width for non-wide deco