2 #ifndef MATH_DECORATIONINSET_H
3 #define MATH_DECORATIONINSET_H
5 #include "math_nestinset.h"
11 /** Decorations and accents over (below) a math object
12 \author Alejandro Aguilar Sierra
17 class MathDecorationInset : public MathNestInset {
20 explicit MathDecorationInset(latexkeys const *);
22 MathInset * clone() const;
24 void draw(Painter &, int x, int y) const;
26 void write(std::ostream &, bool fragile) const;
28 void metrics(MathStyles st) const;
30 void writeNormal(std::ostream & os) const;
33 latexkeys const * key_;
36 /// height cache of deco
38 /// vertical offset cache of deco