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
)
21 Staff_symbol::do_print()const
23 mtor
<< "lines: " << no_lines_i_
;
27 Staff_symbol::brew_molecule_p() const
29 Atom a
= paper()->lookup_p_
->linestaff(no_lines_i_
, width().length());
30 return new Molecule(a
);
34 Staff_symbol::do_break_at(PCol
*p1
, PCol
*p2
)const
36 Staff_symbol
*span_p
=new Staff_symbol(*this);
41 Staff_symbol::set_extent(PCol
*p1
, PCol
*p2
)