source file of the GNU LilyPond music typesetter
- (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "dots.hh"
Dots::brew_molecule_p () const
{
Molecule *out = new Molecule;
- Atom fill = paper ()->lookup_l ()->fill (Box (Interval (0,0),
+ Atom fill = lookup_l ()->fill (Box (Interval (0,0),
Interval (0,0)));
- out->add(fill);
+ out->add_atom (fill);
- Atom d = paper ()->lookup_l ()->dots ();
+ Atom d = lookup_l ()->dots ();
Real dw = d.dim_[X_AXIS].length ();
d.translate_axis (-dw, X_AXIS);
for (int i=no_dots_i_; i--; )
{
d.translate_axis (2*dw,X_AXIS);
- out->add (d);
+ out->add_atom (d);
}
Real inter_f = paper ()->internote_f ();
out->translate_axis (inter_f * position_i_, Y_AXIS);