2 rhythmic-head.cc -- implement
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
9 #include "rhythmic-head.hh"
11 #include "molecule.hh"
12 #include "paper-def.hh"
16 #include "axis-group-element.hh"
17 #include "paper-score.hh"
21 Rhythmic_head::do_add_processing ()
23 if (dots_i_ && !dots_l_)
29 dots_l_->dots_i_ = dots_i_;
34 Rhythmic_head::do_post_processing ()
38 dots_l_->position_i_ = position_i_;
44 Rhythmic_head::add_dots (Dots *dot_l)
47 dot_l->add_dependency (this);
50 Rhythmic_head::Rhythmic_head ()
60 Rhythmic_head::do_substitute_element_pointer (Score_element*o,Score_element*n)
63 dots_l_ = dynamic_cast<Dots *> (n) ;
64 else if (o == stem_l_)
65 stem_l_ = dynamic_cast<Stem*>(n);
70 Rhythmic_head::do_print () const
73 DOUT << "balltype = "<< balltype_i_ << "dots = " << dots_i_;