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 void draw(Painter &, int x, int y) const;
37 void write(MathWriteInfo & os) const;
39 void writeNormal(NormalStream &) const;
41 void metrics(MathMetricsInfo const & st) const;
43 bool idxUp(int & idx, int & pos) const;
45 bool idxDown(int & idx, int & pos) const;
47 void mathmlize(MathMLStream &) const;
49 void octavize(OctaveStream &) const;