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
28 class MathRootInset : public MathNestInset {
33 MathInset * clone() const;
35 bool idxUpDown(idx_type & idx, pos_type & pos, bool up, int targetx) const;
37 void metrics(MathMetricsInfo & mi) const;
39 void draw(MathPainterInfo & pi, int x, int y) const;
42 void write(WriteStream & os) const;
44 void normalize(NormalStream &) const;
46 void mathmlize(MathMLStream &) const;
48 void octavize(OctaveStream &) const;