1 #include "math_diminset.h"
3 #include "textpainter.h"
6 void MathDimInset::dimensions(int & w, int & a, int & d) const
14 void MathDimInset::metricsT(TextMetricsInfo const &) const
16 std::ostringstream os;
18 width_ = int(os.str().size());
24 void MathDimInset::drawT(TextPainter & pain, int x, int y) const
26 std::ostringstream os;
28 pain.draw(x, y, os.str().c_str());