2 staff-bar.cc -- implement Staff_bar
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #include "staff-bar.hh"
13 Staff_bar::get_bar_size () const
15 SCM size_sym = get_elt_property (bar_size_scm_sym);
16 if (size_sym != SCM_BOOL_F)
17 return gh_scm2double (SCM_CDR(size_sym));
19 return (lines_i () -1) * staff_line_leading_f ();