source file of the GNU LilyPond music typesetter
- (c) 1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "span-bar.hh"
SCM smobbed_staff_bar = ly_car (elts);
Grob *staff_bar = unsmob_grob (smobbed_staff_bar);
Interval ext = staff_bar->extent (refp, Y_AXIS);
- if (ext.empty_b ())
+ if (ext.is_empty ())
continue;
- if (!prev_extent.empty_b ())
+ if (!prev_extent.is_empty ())
{
Interval l (prev_extent [UP],
ext[DOWN]);
- if (l.empty_b ())
+ if (l.is_empty ())
{
/* There is overlap between the bar lines. Do nothing. */
}
/* Bar_line::brew_molecule delivers a barline of y-extent (-h/2,h/2), so
we have to translate ourselves to be in the center of the
interval that we span. */
- if (i.empty_b ())
+ if (i.is_empty ())
{
me->suicide ();
return gh_double2scm (0.0);
{
Grob* me = unsmob_grob (smob);
Interval iv (get_spanned_interval (me));
- if (iv.empty_b ())
+ if (iv.is_empty ())
{
/* This happens if the bars are hara-kiried from under us. */
me->suicide ();