+ if (Rhythmic_head::duration_log (l) == 2)
+ where += dir * 0.2;
+ left_x = l->extent (l, X_AXIS).linear_combination (where)
+ + x_gap_f;
+ }
+ else
+ left_x = l->extent (l, X_AXIS).linear_combination (lambda);
+
+ Real width;
+ if (Note_head::has_interface (l) && Note_head::has_interface (r))
+ {
+ width
+ = + r->extent (commonx, X_AXIS)[LEFT]
+ - l->extent (commonx, X_AXIS)[RIGHT]
+ -2 * x_gap_f;
+ }
+ else
+ {
+ if (Note_head::has_interface (l))
+ width = r->relative_coordinate (commonx, X_AXIS)
+ - l->extent (commonx, X_AXIS)[RIGHT]
+ - 2 * x_gap_f;
+ else
+ width
+ = -l->extent (commonx, X_AXIS).linear_combination (lambda)
+ + r->extent (commonx, X_AXIS)[LEFT]
+ - 2 * x_gap_f;
+ }