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 | 8a06a168bb9f6f1c4af92c1c146fce401440e6c9 (patch) | |
tree | 878223b229213dc4e261df1e1a5ed47a1859e635 /lily/grob.cc | |
parent | 1bcd0c6e8f193767c6b4bd21db7e4f4a229a9029 (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); } /**************************************************************** |