1 #include "math_funcliminset.h"
3 #include "support/LOstream.h"
8 MathFuncLimInset::MathFuncLimInset(string const & name)
13 MathInset * MathFuncLimInset::clone() const
15 return new MathFuncLimInset(*this);
19 bool MathFuncLimInset::isScriptable() const
21 return mi_.style == LM_ST_DISPLAY;
25 void MathFuncLimInset::write(MathWriteInfo & os) const
27 os << '\\' << name_ << ' ';
31 void MathFuncLimInset::writeNormal(ostream & os) const
33 os << "[" << name_ << "] ";
37 void MathFuncLimInset::metrics(MathMetricsInfo const & mi) const
40 mathed_string_dim(LM_TC_TEXTRM, mi_, name_, ascent_, descent_, width_);
44 void MathFuncLimInset::draw(Painter & pain, int x, int y) const
46 drawStr(pain, LM_TC_TEXTRM, mi_, x, y, name_);