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"
21 /** The general n-th root inset.
22 * \author Alejandro Aguilar Sierra
24 * Full author contact details are available in file CREDITS
27 class MathRootInset : public MathNestInset {
32 MathInset * clone() const;
34 bool idxUpDown(idx_type & idx, pos_type & pos, bool up, int targetx) const;
36 void metrics(MathMetricsInfo & mi) const;
38 void draw(MathPainterInfo & pi, int x, int y) const;
41 void write(WriteStream & os) const;
43 void normalize(NormalStream &) const;
45 void mathmlize(MathMLStream &) const;
47 void maplize(MapleStream &) const;
49 void octavize(OctaveStream &) const;