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"
11 #include "staff-symbol-referencer.hh"
14 Staff_bar::get_bar_size () const
16 SCM size
= get_elt_property ("bar-size");
17 if (gh_number_p (size
))
18 return gh_scm2double (size
);
21 Staff_symbol_referencer_interface
si (this);
22 return (si
.line_count () -1) * si
.staff_space ();