2 #ifndef MATH_DIMINSET_H
3 #define MATH_DIMINSET_H
5 #include "math_inset.h"
9 /// things that need the dimension cache
11 class MathDimInset : public MathInset {
13 /// not sure whether the initialization is really necessary
16 Dimension dimensions() const { return dim_; }
18 void metricsT(TextMetricsInfo const &) const;
20 void drawT(TextPainter & pain, int x, int y) const;
24 mutable Dimension dim_;