- /*
- uhg. Should use relative coords and placement
- */
- Real whole_note_correction;
- if (Stem::invisible_b (stem))
- {
- Grob *hed = Stem::support_head (stem);
- whole_note_correction = -Stem::get_direction (stem)
- *hed->extent (hed, X_AXIS).length () / 2;
- }
- else
- whole_note_correction = 0;
-
- mol.translate (Offset (stem->relative_coordinate (0, X_AXIS)
- - me->relative_coordinate (0, X_AXIS) +
- whole_note_correction, dy));