source file of the GNU LilyPond music typesetter
- (c) 2001--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 2001--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
it = it->find_prebroken_piece (rcolumn->break_status_dir ());
}
- Grob *last = Staff_spacing::extremal_break_aligned_grob (it, LEFT, &bar_xextent);
+ Grob *last = Separation_item::extremal_break_aligned_grob (it, LEFT, &bar_xextent);
if (last)
bar_yextent = Staff_spacing::bar_y_positions (last);
if (st)
{
- Real thick = gh_scm2double (st->get_grob_property ("thickness"))
- * st->get_paper ()->get_realvar (ly_symbol2scm ("linethickness"));
+ Real thick = Stem::thickness (st);
note_head_width -= thick;
}
}
correction = note_head_width* stem_dirs[LEFT];
- correction *= gh_scm2double (me->get_grob_property ("knee-spacing-correction"));
+ correction *= robust_scm2double (me->get_grob_property ("knee-spacing-correction"), 0);
*fixed += correction;
}
else
correction = (correction/7) <? 1.0;
correction *= stem_dirs[LEFT] ;
correction *=
- gh_scm2double (me->get_grob_property ("stem-spacing-correction"));
+ robust_scm2double (me->get_grob_property ("stem-spacing-correction"), 0);
}
if (!bar_yextent.is_empty ())
(head_posns[LEFT][DOWN] > head_posns[RIGHT][UP]) ? RIGHT : LEFT;
Real delta = head_posns[-lowest][DOWN] - head_posns[lowest][UP] ;
- Real corr = gh_scm2double (me->get_grob_property ("stem-spacing-correction"));
+ Real corr = robust_scm2double (me->get_grob_property ("stem-spacing-correction"), 0);
corr = (delta <= 1) ? 0.0 : 0.25;
correction= -lowest * corr ;