2 engraver.cc -- implement Engraver
4 Sourcefile of GNU LilyPond musictypesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
9 #include "music-list.hh"
10 #include "musical-request.hh"
11 #include "engraver.hh"
12 #include "engraver-group.hh"
16 Engraver::fill_staff_info (Staff_info
&)
23 Engraver::announce_element (Score_elem_info i
)
25 i
.origin_grav_l_arr_
.push (this);
26 daddy_grav_l()->announce_element (i
);
30 Engraver::typeset_element (Score_elem
*p
)
32 daddy_grav_l()->typeset_element (p
);
36 Engraver::paper() const
38 return (Paper_def
*)output_def_l_
;
43 Engraver::get_staff_info() const
46 return daddy_grav_l()->get_staff_info();
52 IMPLEMENT_IS_TYPE_B1(Engraver
, Translator
);
55 Engraver_group_engraver
*
56 Engraver::daddy_grav_l () const
58 return (daddy_trans_l_
)
59 ? (Engraver_group_engraver
*) daddy_trans_l_
->engraver_l ()