2 staffsym.cc -- implement Staff_symbol
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
10 #include "paper-def.hh"
15 Staff_symbol::Staff_symbol(int l
)
20 IMPLEMENT_STATIC_NAME(Staff_symbol
);
23 Staff_symbol::do_print()const
25 mtor
<< "lines: " << no_lines_i_
;
29 Staff_symbol::brew_molecule_p() const
31 Atom a
= paper()->lookup_l()->linestaff(no_lines_i_
, width().length());
32 return new Molecule(a
);
36 Staff_symbol::do_break_at(PCol
*p1
, PCol
*p2
)const
38 Staff_symbol
*span_p
=new Staff_symbol(*this);
43 Staff_symbol::set_extent(PCol
*p1
, PCol
*p2
)