- {
- /*
- Beams should intersect one beamthickness below stem end
- */
- Real dy = Stem::stem_end_position (stem ) * ss / 2;
- dy -= mol.extent (Y_AXIS).length () / 2 * Stem::get_direction (stem );
-
- /*
- uhg. Should use relative coords and placement
- */
- Real whole_note_correction;
- if (Stem::invisible_b (stem ))
- whole_note_correction = -Stem::get_direction (stem )
- * Stem::support_head (stem )->extent (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));