2 molecule.hh -- declare Molecule
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
11 #include "lily-proto.hh"
15 #include "direction.hh"
16 #include "protected-scm.hh"
19 /** a group of individually translated symbols. You can add molecules
20 to the top, to the right, etc. */
22 // Protected_scm atom_list_; // change to List<Atom>?
23 Killing_cons<Atom> *atom_list_;
24 friend class Paper_outputter;
31 void add_at_edge (Axis a, Direction d, const Molecule &m, Real padding);
33 void add_molecule (Molecule const &m);
34 void translate (Offset);
35 void do_center (Axis);
36 void translate_axis (Real,Axis);
38 void add_atom (Atom const *a);
39 /// how big is #this#?
41 Interval extent (Axis) const;
43 Molecule (const Molecule&s);
45 void operator=(const Molecule&);