source file of the GNU LilyPond music typesetter
- (c) 1996--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1996--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
Jan Nieuwenhuizen <janneke@gnu.org>
TODO: This is way too hairy
int
Stem::head_count (Grob *me)
{
- return Pointer_group_interface::count (me, "note-heads");
+ return Pointer_group_interface::count (me, ly_symbol2scm ("note-heads"));
}
/* The note head which forms one end of the stem.
{
Beam::after_line_breaking (beam->self_scm ());
}
-
SCM mol = me->get_uncached_stencil ();
Interval iv;
if (Grob *b = get_beam (me))
{
Direction d = get_direction (me);
+ if (d == CENTER)
+ {
+ programming_error ("No stem direction");
+ d = UP;
+ }
iv[d] += d * Beam::get_thickness (b) * 0.5 ;
}