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
16 class MathDecorationInset : public MathNestInset {
19 explicit MathDecorationInset(string const & name);
21 MathInset * clone() const;
23 void draw(MathPainterInfo &, int x, int y) const;
25 void write(WriteStream & os) const;
27 void metrics(MathMetricsInfo & st) const;
29 void normalize(NormalStream & os) const;
31 bool isScriptable() const;
38 /// is it a wide decoration?
43 /// height cache of deco
45 /// vertical offset cache of deco
47 /// width for non-wide deco