5 #include "math_specialcharinset.h"
6 #include "support/LOstream.h"
10 MathSpecialCharInset::MathSpecialCharInset(char c)
15 MathInset * MathSpecialCharInset::clone() const
17 return new MathSpecialCharInset(*this);
21 int MathSpecialCharInset::ascent() const
23 return mathed_char_ascent(LM_TC_CONST, mi_, char_);
27 int MathSpecialCharInset::descent() const
29 return mathed_char_descent(LM_TC_CONST, mi_, char_);
33 int MathSpecialCharInset::width() const
35 return mathed_char_width(LM_TC_CONST, mi_, char_);
39 void MathSpecialCharInset::metrics(MathMetricsInfo const & mi) const
45 void MathSpecialCharInset::draw(Painter & pain, int x, int y) const
49 drawChar(pain, LM_TC_CONST, mi_, x, y, char_);
53 void MathSpecialCharInset::write(MathWriteInfo & os) const
59 void MathSpecialCharInset::writeNormal(std::ostream & os) const