]> git.lyx.org Git - lyx.git/blob - src/mathed/math_biginset.h
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / math_biginset.h
1 // -*- C++ -*-
2
3 /**
4  *  \file math_biginset.h
5  *
6  *  This file is part of LyX, the document processor.
7  *  Licence details can be found in the file COPYING.
8  *
9  *  \author André Pönitz
10  *
11  *  Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef MATH_BIGINSET_H
15 #define MATH_BIGINSET_H
16
17
18 #include "math_diminset.h"
19 #include "LString.h"
20
21 /// Inset for \bigl & Co.
22 class MathBigInset : public MathDimInset {
23 public:
24         ///
25         MathBigInset(string const & name, string const & delim);
26         ///
27         MathInset * clone() const;
28         ///
29         void draw(MathPainterInfo & pi, int x, int y) const;
30         ///
31         void write(WriteStream & os) const;
32         ///
33         void metrics(MathMetricsInfo & st) const;
34         ///
35         void normalize(NormalStream & os) const;
36
37 private:
38         ///
39         size_type size() const;
40         ///
41         double increase() const;
42
43         /// \bigl or what?
44         string const name_;
45         /// ( or [ or Vert...
46         string const delim_;
47 };
48
49 #endif