3 * \file math_diminset.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_DIMINSET_H
13 #define MATH_DIMINSET_H
15 #include "math_inset.h"
16 #include "dimension.h"
19 /// things that need the dimension cache
20 class MathDimInset : public MathInset {
22 /// not sure whether the initialization is really necessary
25 Dimension dimensions() const { return dim_; }
27 void metricsT(TextMetricsInfo const &) const;
29 void drawT(TextPainter & pain, int x, int y) const;
33 mutable Dimension dim_;