summaryrefslogtreecommitdiff
path: root/lily/grob.cc
diff options
context:
space:
mode:
authorJoe Neeman <joeneeman@gmail.com>2006-07-25 01:16:05 +0000
committerJoe Neeman <joeneeman@gmail.com>2006-07-25 01:16:05 +0000
commitfa938d4b51ccb3c18e489b395838f2587b531ec2 (patch)
treebbc246bd41ce54f7b7d17bfe056bc2c996fb2eca /lily/grob.cc
parent198f4d748307a3d6d8be3bb29e4197606f24b6b8 (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.cc6
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);
}
/****************************************************************