- mathed_char_height(LM_TC_VAR, size, 'M', ascent, descent);
- width = mathed_char_width(LM_TC_VAR, size, 'M');
- switch (code) {
- case LM_ldots: dh = 0; break;
- case LM_cdots: dh = ascent/2; break;
- case LM_vdots: width /= 2;
- case LM_ddots: dh = ascent; break;
- }
-}
+ mathed_draw_deco(pain, x + 2, y - dh_, dim_.width() - 2, dim_.ascent(),
+ key_->name);
+ if (key_->name == "vdots" || key_->name == "ddots")
+ ++x;
+ if (key_->name != "vdots")
+ --y;
+ mathed_draw_deco(pain, x + 2, y - dh_, dim_.width() - 2, dim_.ascent(),
+ key_->name);
+ setPosCache(pain, x, y);
+}