diff options
author | Keith OHara <k-ohara5a5a@oco.net> | 2012-06-17 21:45:26 -0700 |
---|---|---|
committer | Keith OHara <k-ohara5a5a@oco.net> | 2012-06-20 15:02:29 -0700 |
commit | 16a328617e867892e8d5608f95bd6127196e03a2 (patch) | |
tree | bad967503bd7fefdcf8b7067aa9a1e6c2278187a /lily/spanner.cc | |
parent | 619997f335c96cb3720f486650fd284906c90b83 (diff) |
Consistent bounds for slurs; issue 427 and 379
Diffstat (limited to 'lily/spanner.cc')
-rw-r--r-- | lily/spanner.cc | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lily/spanner.cc b/lily/spanner.cc index 9a8ff83a3f..ae0094fc4b 100644 --- a/lily/spanner.cc +++ b/lily/spanner.cc @@ -319,32 +319,6 @@ Spanner::is_broken () const return broken_intos_.size (); } -/* - If this is a broken spanner, return the amount the left end is to be - shifted horizontally so that the spanner starts after the initial - clef and key on the staves. This is necessary for ties, slurs, - crescendo and decrescendo signs, for example. -*/ -Real -Spanner::get_broken_left_end_align () const -{ - Paper_column *sc = dynamic_cast<Paper_column *> (spanned_drul_[LEFT]->get_column ()); - - // Relevant only if left span point is first column in line - if (sc != NULL - && sc->break_status_dir () == RIGHT) - { - /* - We used to do a full search for the Break_align_item. - But that doesn't make a difference, since the Paper_column - is likely to contain only a Break_align_item. - */ - return sc->extent (sc, X_AXIS)[RIGHT]; - } - - return 0.0; -} - void Spanner::derived_mark () const { |