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"
14 #include "direction.hh"
15 #include "protected-scm.hh"
20 /** a group of individually translated symbols. You can add molecules
21 to the top, to the right, etc. */
26 // Protected_scm atom_list_; // change to List<Atom>?
27 Cons<Atom> *atom_list_;
29 friend class Paper_outputter;
36 void add_at_edge (Axis a, Direction d, const Molecule &m, Real padding);
38 void add_molecule (Molecule const &m);
39 void translate (Offset);
40 void do_center (Axis);
41 void translate_axis (Real,Axis);
43 void add_atom (Atom const *a);
44 /// how big is #this#?
46 Interval extent (Axis) const;
48 Molecule (const Molecule&s);
50 void operator=(const Molecule&);