2 dot-column-engraver.cc -- implement Dot_column_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #include "rhythmic-head.hh"
10 #include "dot-column.hh"
11 #include "side-position-interface.hh"
12 #include "engraver.hh"
13 #include "translator.icc"
16 class Dot_column_engraver : public Engraver
20 TRANSLATOR_DECLARATIONS (Dot_column_engraver);
24 DECLARE_ACKNOWLEDGER (rhythmic_head);
26 void stop_translation_timestep ();
29 Dot_column_engraver::Dot_column_engraver ()
35 Dot_column_engraver::stop_translation_timestep ()
41 Dot_column_engraver::acknowledge_rhythmic_head (Grob_info info)
43 Grob *d = unsmob_grob (info.grob ()->get_object ("dot"));
47 dotcol_ = make_item ("DotColumn", SCM_EOL);
49 Dot_column::add_head (dotcol_, info.grob ());
54 ADD_ACKNOWLEDGER (Dot_column_engraver, rhythmic_head);
55 ADD_TRANSLATOR (Dot_column_engraver,
56 /* doc */ "Engraves dots on dotted notes shifted to the right of the note.\n"
57 "If omitted, then dots appear on top of the notes.",
58 /* create */ "DotColumn",