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