2 rhythmic-head.cc -- implement
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 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"
20 Rhythmic_head::do_add_processing ()
22 if (dots_i_ && !dots_l_)
26 pscore_l_->typeset_element (d);
27 axis_group_l_a_[Y_AXIS]->add_element (d);
28 axis_group_l_a_[X_AXIS]->add_element (d);
32 dots_l_->no_dots_i_ = dots_i_;
37 Rhythmic_head::add_dots (Dots *dot_l)
40 dot_l->add_dependency (this);
44 Rhythmic_head::Rhythmic_head ()
52 Rhythmic_head::do_substitute_dependent (Score_element*o,Score_element*n)
55 dots_l_ = n ? (Dots*)n->access_Item () :0;
58 IMPLEMENT_IS_TYPE_B1(Rhythmic_head, Item);
60 Rhythmic_head::do_print () const
63 DOUT << "balltype = "<< balltype_i_ << "dots = " << dots_i_;