- return nuc ? nuc->descent()
- : mathed_char_descent(LM_TC_VAR, mi_, 'I');
-}
-
-
-void MathScriptInset::metrics(MathMetricsInfo const & mi) const
-{
- metrics(0, mi);
-}
-
-
-void MathScriptInset::metrics(MathInset const * nuc,
- MathMetricsInfo const & mi) const
-{
- MathNestInset::metrics(mi);
- if (nuc)
- nuc->metrics(mi);
- ascent_ = ascent2(nuc);
- descent_ = descent2(nuc);
- width_ = width2(nuc);
-}
-
-
-void MathScriptInset::draw(Painter & pain, int x, int y) const
-{
- //lyxerr << "unexpected call to MathScriptInset::draw()\n";
- draw(0, pain, x, y);
-}
-
-
-void MathScriptInset::draw(MathInset const * nuc, Painter & pain,
- int x, int y) const
-{
- if (nuc)
- nuc->draw(pain, x + dxx(nuc), y);
- else
- drawStr(pain, LM_TC_TEX, mi_, x + dxx(nuc), y, ".");
-