This commit was manufactured by cvs2svn to create tag 'lyx-1_3_7'.
[lyx.git] / src / mathed / math_diminset.C
blob3709d9a7b0406fcda22195ed6a0ebf753f455027
1 #include "math_diminset.h"
2 #include "Lsstream.h"
3 #include "textpainter.h"
6 void MathDimInset::metricsT(TextMetricsInfo const &) const
8 #ifdef WITH_WARNINGS
9 #warning temporarily disabled
10 #endif
12         std::ostringstream os;
13         os << MathAtom(this);
14         dim_.w = int(os.str().size());
15         dim_.a = 1;
16         dim_.d = 0;
21 void MathDimInset::drawT(TextPainter &, int, int) const
24         std::ostringstream os;
25         os << MathAtom(this);
26         pain.draw(x, y, STRCONV(os.str()));