]> git.lyx.org Git - lyx.git/blob - src/mathed/math_dotsinset.h
fixes for \xxalignat and old style font changes
[lyx.git] / src / mathed / math_dotsinset.h
1 // -*- C++ -*-
2 #ifndef MATH_DOTSINSET_H
3 #define MATH_DOTSINSET_H
4
5 #include "math_diminset.h"
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11 class latexkeys;
12
13 /// The different kinds of ellipsis
14 class MathDotsInset : public MathDimInset {
15 public:
16         ///
17         explicit MathDotsInset(latexkeys const * l);
18         ///
19         MathInset * clone() const;
20         ///
21         void draw(MathPainterInfo &, int x, int y) const;
22         ///
23         void write(WriteStream & os) const;
24         ///
25         void normalize(NormalStream &) const;
26         ///
27         void metrics(MathMetricsInfo & st) const;
28 protected:
29         /// cache for the thing's heigth
30         mutable int dh_;
31         ///
32         latexkeys const * key_;
33 };
34 #endif