#pragma interface
#endif
-/** Decorations over (below) a math object
+/** Decorations and accents over (below) a math object
\author Alejandro Aguilar Sierra
*/
class MathDecorationInset : public MathInset {
public:
///
- MathDecorationInset(int);
+ MathDecorationInset(string const & name, int);
///
- MathInset * Clone() const;
+ MathInset * clone() const;
///
void draw(Painter &, int, int);
///
void Write(std::ostream &, bool fragile) const;
///
- void Metrics(MathStyles st);
+ void Metrics(MathStyles st, int asc = 0, int des = 0);
///
- bool GetLimits() const;
+ void WriteNormal(std::ostream & os) const;
private:
///
int deco_;
///
bool upper_;
+ /// height of deco
+ int dh_;
+ /// vertical offset of deco
+ int dy_;
};
#endif