2 crescendo.cc -- implement Crescendo
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
9 #include "crescendo.hh"
11 #include "paper-def.hh"
13 Crescendo::Crescendo(int s)
21 Crescendo::do_break_at(PCol*, PCol*)const
23 return new Crescendo(*this);
28 Crescendo::brew_molecule_p() const return m_p ;
31 Real w_f = width().length();
32 Symbol s( paper()->lookup_l()->hairpin(w_f, grow_dir_i_ < 0) );
34 int pos = (dir_i_ >0) ? staff_size_i_ + 4 : - 4 ;
35 m_p->translate(Offset(0,pos * paper()->internote()));