From ed878744fdab3eb4cb6775b23e26ab997c80726f Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 26 Mar 2002 22:15:02 +0000 Subject: [PATCH] lilypond-1.1.58 --- lily/encompass-info.cc | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/lily/encompass-info.cc b/lily/encompass-info.cc index 8dd95437d4..b5fbcf56fe 100644 --- a/lily/encompass-info.cc +++ b/lily/encompass-info.cc @@ -20,7 +20,6 @@ Encompass_info::Encompass_info () { - assert (0); } Encompass_info::Encompass_info (Note_column const* note_column, Direction dir, Slur const* slur_l) @@ -37,37 +36,12 @@ Encompass_info::Encompass_info (Note_column const* note_column, Direction dir, S o_[X_AXIS] = stem_l->hpos_f (); -#if 0 - /* - Let's not do this; yields ugly assymetric slurs. - - set o_[X_AXIS] to middle of notehead or on the exact position of stem, - according to slur direction - - - stem_l->dir == dir - ________ - | | / \ - x| x| |x |x - \________/ | | - - */ - - dx_f_drul_[d] = -d * spanned_drul_[d]->extent (X_AXIS).length (); - - if (stem_l->dir_ != dir) - o_[X_AXIS] -= 0.5 * stem_l->dir_ * note_column->extent (X_AXIS).length (); - -#else - /* - Instead; simply set x to middle of notehead + Simply set x to middle of notehead */ o_[X_AXIS] -= 0.5 * stem_l->dir_ * note_column->extent (X_AXIS).length (); -#endif - if (stem_l->dir_ == dir) { o_[Y_AXIS] = stem_l->extent (Y_AXIS)[dir]; -- 2.39.5