2 dot-column-engraver.cc -- implement Dot_column_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #include "dot-column-engraver.hh"
11 #include "rhythmic-head.hh"
12 #include "dot-column.hh"
14 Dot_column_engraver::Dot_column_engraver ()
20 Dot_column_engraver::do_pre_move_processing ()
24 typeset_element (dotcol_p_);
31 Dot_column_engraver::acknowledge_element (Score_element_info info)
33 Item * i=dynamic_cast <Item *> (info.elem_l_);
35 if (! (i && i->is_type_b (Rhythmic_head::static_name ())))
38 Rhythmic_head * h = (Rhythmic_head*)i;
45 dotcol_p_ = new Dot_column;
46 announce_element (Score_element_info (dotcol_p_, 0));
49 dotcol_p_->add_head (h);
53 ADD_THIS_TRANSLATOR(Dot_column_engraver);
54 IMPLEMENT_IS_TYPE_B1(Dot_column_engraver,Engraver);