]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_rootinset.h
try to fix rounding errors
[lyx.git] / src / mathed / math_rootinset.h
index e85e074c2ed6ad212891e1eb287f5a669cfe519d..e03755e0173cf4d2cb81d4da0e7038edf5c4159a 100644 (file)
@@ -1,8 +1,8 @@
 // -*- C++ -*-
 /*
  *  File:        math_root.h
- *  Purpose:     Declaration of the root object 
- *  Author:      Alejandro Aguilar Sierra <asierra@servidor.unam.mx> 
+ *  Purpose:     Declaration of the root object
+ *  Author:      Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
  *  Created:     January 1999
  *  Description: Root math object
  *
@@ -32,19 +32,20 @@ public:
        ///
        MathInset * clone() const;
        ///
-       void draw(Painter &, int x, int y) const;
+       bool idxUpDown(idx_type & idx, bool up) const;
        ///
-       void write(MathWriteInfo & os) const;
+       void metrics(MathMetricsInfo & st) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void draw(MathPainterInfo &, int x, int y) const;
+
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void write(WriteStream & os) const;
        ///
-       bool idxUp(int & idx, int & pos) const;
+       void normalize(NormalStream &) const;
        ///
-       bool idxDown(int & idx, int & pos) const;
+       void mathmlize(MathMLStream &) const;
        ///
-       string octavize() const;
+       void octavize(OctaveStream &) const;
 };
 
 #endif