1 #include "math_notinset.h"
2 #include "math_parser.h"
3 #include "math_mathmlstream.h"
7 MathNotInset::MathNotInset()
11 MathInset * MathNotInset::clone() const
13 return new MathNotInset(*this);
17 void MathNotInset::write(MathWriteInfo & os) const
23 void MathNotInset::writeNormal(NormalStream & os) const
29 void MathNotInset::metrics(MathMetricsInfo const & mi) const
32 if (math_font_available(LM_TC_CMSY))
33 mathed_char_dim(LM_TC_CMSY, mi_, 54, ascent_, descent_, width_);
35 mathed_char_dim(LM_TC_VAR, mi_, '/', ascent_, descent_, width_);
40 void MathNotInset::draw(Painter & pain, int x, int y) const
42 if (math_font_available(LM_TC_CMSY))
43 drawChar(pain, LM_TC_CMSY, mi_, x, y, 54);
45 drawChar(pain, LM_TC_VAR, mi_, x, y, '/');