#ifndef MATH_SQRTINSET_H
#define MATH_SQRTINSET_H
-#include "math_inset.h"
+#include "math_nestinset.h"
#ifdef __GNUG__
#pragma interface
/** The square root inset.
\author Alejandro Aguilar Siearra
*/
-class MathSqrtInset : public MathInset {
+class MathSqrtInset : public MathNestInset {
public:
///
MathSqrtInset();
///
MathInset * clone() const;
///
- void draw(Painter &, int x, int baseline);
+ void draw(Painter &, int x, int y) const;
///
- void Write(std::ostream &, bool fragile) const;
+ void metrics(MathMetricsInfo const & st) const;
+
+ ///
+ void write(WriteStream & os) const;
+ ///
+ void normalize(NormalStream &) const;
///
- void WriteNormal(std::ostream &) const;
+ void maplize(MapleStream &) const;
///
- void Metrics(MathStyles st);
+ void mathmlize(MathMLStream &) const;
};
#endif