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. */
25 // Protected_scm atom_list_; // change to List<Atom>?
26 Cons<Atom> *atom_list_;
28 friend class Paper_outputter;
35 void add_at_edge (Axis a, Direction d, const Molecule &m, Real padding);
37 void add_molecule (Molecule const &m);
38 void translate (Offset);
39 void do_center (Axis);
40 void translate_axis (Real,Axis);
42 void add_atom (Atom const *a);
43 /// how big is #this#?
45 Interval extent (Axis) const;
47 Molecule (const Molecule&s);
49 void operator=(const Molecule&);