-
+// -*- C++ -*-
#ifndef MATH_SQRTINSET_H
#define MATH_SQRTINSET_H
-#include "math_parinset.h"
+#include "math_nestinset.h"
+
/** The square root inset.
- \author Alejandro Aguilar Siearra
+ * \author Alejandro Aguilar Siearra
+ *
+ * Full author contact details are available in file CREDITS
*/
-class MathSqrtInset : public MathParInset {
+class MathSqrtInset : public MathNestInset {
public:
///
- MathSqrtInset(short st = LM_ST_TEXT);
+ MathSqrtInset();
+ ///
+ MathInset * clone() const;
+ ///
+ void draw(MathPainterInfo &, int x, int y) const;
///
- MathedInset * Clone();
+ void metrics(MathMetricsInfo & mi) const;
+ ///
+ void drawT(TextPainter &, int x, int y) const;
+ ///
+ void metricsT(TextMetricsInfo const & mi) const;
+
///
- void draw(Painter &, int x, int baseline);
+ void write(WriteStream & os) const;
///
- void Write(std::ostream &, bool fragile);
+ void normalize(NormalStream &) const;
///
- void Metrics();
+ void maple(MapleStream &) const;
///
- bool Inside(int, int);
-private:
+ void mathematica(MathematicaStream &) const;
///
- int hmax_;
+ void octave(OctaveStream &) const;
///
- int wbody_;
+ void mathmlize(MathMLStream &) const;
};
#endif