5 #include "math_specialcharinset.h"
6 #include "math_mathmlstream.h"
7 #include "math_support.h"
10 MathSpecialCharInset::MathSpecialCharInset(char c)
15 MathInset * MathSpecialCharInset::clone() const
17 return new MathSpecialCharInset(*this);
21 void MathSpecialCharInset::metrics(MathMetricsInfo & mi) const
23 MathShapeChanger dummy(mi.base.font, LyXFont::ITALIC_SHAPE);
24 mathed_char_dim(mi.base.font, char_, ascent_, descent_, width_);
28 void MathSpecialCharInset::draw(MathPainterInfo & pi, int x, int y) const
30 MathShapeChanger dummy(pi.base.font, LyXFont::ITALIC_SHAPE);
35 void MathSpecialCharInset::write(WriteStream & os) const
41 void MathSpecialCharInset::normalize(NormalStream & os) const