2 rhythmic-head.cc -- implement Rhythmic_head
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"
23 Rhythmic_head::dots_i () const
25 return dots_l_ ? dots_l_->dots_i_ : 0;
29 Rhythmic_head::do_post_processing ()
33 dots_l_->set_position(int (position_f ()));
39 Rhythmic_head::add_dots (Dots *dot_l)
42 dot_l->add_dependency (this);
45 Rhythmic_head::Rhythmic_head ()
53 Rhythmic_head::do_substitute_element_pointer (Score_element*o,Score_element*n)
55 Staff_symbol_referencer::do_substitute_element_pointer (o,n);
57 dots_l_ = dynamic_cast<Dots *> (n) ;
58 else if (o == stem_l_)
59 stem_l_ = dynamic_cast<Stem*>(n);
64 Rhythmic_head::do_print () const
67 DEBUG_OUT << "balltype = "<< balltype_i_ << "dots = " << dots_i ();