]> git.lyx.org Git - lyx.git/blob - src/mathed/math_sqrtinset.h
small up/down tweaking
[lyx.git] / src / mathed / math_sqrtinset.h
1 // -*- C++ -*-
2 #ifndef MATH_SQRTINSET_H
3 #define MATH_SQRTINSET_H
4
5 #include "math_nestinset.h"
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11 /** The square root inset.
12  *  \author Alejandro Aguilar Siearra
13  *
14  * Full author contact details are available in file CREDITS
15  */
16 class MathSqrtInset : public MathNestInset {
17 public:
18         ///
19         MathSqrtInset();
20         ///
21         MathInset * clone() const;
22         ///
23         void draw(MathPainterInfo &, int x, int y) const;
24         ///
25         void metrics(MathMetricsInfo & mi) const;
26         ///
27         void drawT(TextPainter &, int x, int y) const;
28         ///
29         void metricsT(TextMetricsInfo const & mi) const;
30
31         ///
32         void write(WriteStream & os) const;
33         ///
34         void normalize(NormalStream &) const;
35         ///
36         void maplize(MapleStream &) const;
37         ///
38         void mathematicize(MathematicaStream &) const;
39         ///
40         void octavize(OctaveStream &) const;
41         ///
42         void mathmlize(MathMLStream &) const;
43 };
44 #endif