}
-void MathMacroArgument::metrics(MathMetricsInfo const & st) const
+void MathMacroArgument::metrics(MathMetricsInfo const & mi) const
{
+ mi_ = mi;
if (expanded_) {
- xcell(0).metrics(st);
+ xcell(0).metrics(mi_);
width_ = xcell(0).width();
ascent_ = xcell(0).ascent();
descent_ = xcell(0).descent();
} else
- mathed_string_dim(LM_TC_TEX, size_, str_, ascent_, descent_, width_);
+ mathed_string_dim(LM_TC_TEX, mi_, str_, ascent_, descent_, width_);
}
if (expanded_)
xcell(0).draw(pain, x, y);
else
- drawStr(pain, LM_TC_TEX, size_, x, y, str_);
+ drawStr(pain, LM_TC_TEX, mi_, x, y, str_);
}