diff options
author | Joe Neeman <joeneeman@gmail.com> | 2006-07-25 01:16:05 +0000 |
---|---|---|
committer | Joe Neeman <joeneeman@gmail.com> | 2006-07-25 01:16:05 +0000 |
commit | fa938d4b51ccb3c18e489b395838f2587b531ec2 (patch) | |
tree | bbc246bd41ce54f7b7d17bfe056bc2c996fb2eca /lily/grob.cc | |
parent | 198f4d748307a3d6d8be3bb29e4197606f24b6b8 (diff) |
* lily/grob.cc:
* lily/gourlay-breaking.cc: Oops, these should have been included in my last
commit
Diffstat (limited to 'lily/grob.cc')
-rw-r--r-- | lily/grob.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lily/grob.cc b/lily/grob.cc index d13f127044..8628e8a590 100644 --- a/lily/grob.cc +++ b/lily/grob.cc @@ -419,6 +419,10 @@ Grob::pure_height (Grob *refp, int start, int end) SCM_EOL)); Real offset = pure_relative_y_coordinate (refp, start, end); + SCM min_ext = get_property ("minimum-Y-extent"); + if (is_number_pair (min_ext)) + iv.unite (ly_scm2interval (min_ext)); + iv.translate (offset); return iv; } @@ -434,7 +438,7 @@ Grob::maybe_pure_extent (Grob *refp, Axis a, bool pure, int start, int end) Interval_t<int> Grob::spanned_rank_iv () { - return Interval_t<int> (INT_MIN, INT_MAX); + return Interval_t<int> (-1, 0); } /**************************************************************** |