#include "math_support.h"
#include "LColor.h"
#include "support/std_ostream.h"
+#include "frontends/Painter.h"
using std::max;
using std::auto_ptr;
}
-auto_ptr<InsetBase> MathBraceInset::clone() const
+auto_ptr<InsetBase> MathBraceInset::doClone() const
{
return auto_ptr<InsetBase>(new MathBraceInset(*this));
}
font.setColor(LColor::latex);
Dimension t;
mathed_char_dim(font, '{', t);
- drawChar(pi, font, x, y, '{');
+ pi.pain.text(x, y, '{', font);
cell(0).draw(pi, x + t.wid, y);
- drawChar(pi, font, x + t.wid + cell(0).width(), y, '}');
+ pi.pain.text(x + t.wid + cell(0).width(), y, '}', font);
drawMarkers(pi, x, y);
}