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"
21 /** a group of individually translated symbols. You can add molecules
22 to the top, to the right, etc. */
27 // Protected_scm atom_list_; // change to List<Atom>?
28 Cons<Atom> *atom_list_;
30 friend class Paper_outputter;
37 void add_at_edge (Axis a, Direction d, const Molecule &m, Real padding);
39 void add_molecule (Molecule const &m);
40 void translate (Offset);
41 void do_center (Axis);
42 void translate_axis (Real,Axis);
44 void add_atom (Atom const *a);
45 /// how big is #this#?
47 Interval extent (Axis) const;
49 Molecule (const Molecule&s);
51 void operator=(const Molecule&);