2 #include "math_diminset.h"
4 #include "textpainter.h"
7 void MathDimInset::metrics(TextMetricsInfo const &) const
11 width_ = int(os.str().size());
17 void MathDimInset::draw(TextPainter & pain, int x, int y) const
19 std::ostringstream os;
21 pain.draw(x, y, os.str().c_str());