]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/atom.hh
931d43f64bf518f00d0a96d3510f64430ee1e8e4
[lilypond.git] / lily / include / atom.hh
1 /*
2   atom.hh -- declare Atom
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9 #ifndef ATOM_HH
10 #define ATOM_HH
11
12 #include "protected-scm.hh"
13 #include "string.hh"
14 #include "box.hh"
15 #include "lily-proto.hh"
16 #include "lily-guile.hh"
17
18 class Atom {
19   Offset off_;
20   friend class Molecule;
21   friend class Paper_outputter;
22 public:
23   Atom (SCM s);
24
25   /*
26     SCM expression that (when evaluated) gives a TeX string
27 representing a musical notation symbol.  */
28   Protected_scm func_;
29   void fontify (Font_metric*);
30 };
31
32
33 #endif