4 * Purpose: Declaration of the root object
5 * Author: Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
6 * Created: January 1999
7 * Description: Root math object
9 * Copyright: 1999 Alejandro Aguilar Sierra
11 * You are free to use and modify this code under the terms of
12 * the GNU General Public Licence version 2 or later.
18 #include "math_nestinset.h"
24 /** The general n-th root inset.
25 * \author Alejandro Aguilar Sierra
27 * Full author contact details are available in file CREDITS
30 class MathRootInset : public MathNestInset {
35 MathInset * clone() const;
37 bool idxUpDown(idx_type & idx, pos_type & pos, bool up, int targetx) const;
39 void metrics(MathMetricsInfo & mi) const;
41 void draw(MathPainterInfo & pi, int x, int y) const;
44 void write(WriteStream & os) const;
46 void normalize(NormalStream &) const;
48 void mathmlize(MathMLStream &) const;
50 void maplize(MapleStream &) const;
52 void octavize(OctaveStream &) const;