2 staffsym.cc -- implement Staff_symbol
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
8 #include "staff-sym.hh"
10 #include "paper-def.hh"
11 #include "molecule.hh"
16 Staff_symbol::Staff_symbol(int l)
21 IMPLEMENT_STATIC_NAME(Staff_symbol);
24 Staff_symbol::do_print()const
26 mtor << "lines: " << no_lines_i_;
30 Staff_symbol::brew_molecule_p() const
32 Atom a = paper()->lookup_l()->linestaff(no_lines_i_, width().length());
33 return new Molecule(a);
37 Staff_symbol::set_extent(PCol*p1, PCol*p2)
45 Staff_symbol::inter_note_f()const
47 return paper()->internote_f();
51 Staff_symbol::steps_i() const