source file of the GNU LilyPond music typesetter
- (c) 1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
+ (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#ifndef ATOM_HH
#define ATOM_HH
-#include "string.hh"
-#include "boxes.hh"
#include "lily-proto.hh"
+#include "box.hh"
+#include "lily-guile.hh"
+SCM translate_atom (Offset, SCM);
+SCM translate_atom_axis (Real, Axis,SCM);
+SCM fontify_atom (Font_metric*, SCM atom);
-/// a symbol which can be translated, and freely copied
-class Atom {
- Offset off_;
-public:
- String tex_;
- Box dim_;
-
- String str() const; // for printing.
- Atom (String, Box);
- Atom ();
- void translate (Offset o);
- void translate_axis (Real r,Axis a);
- /// how big is #this#?
- Box extent() const;
- void print() const;
- String TeX_string() const;
- bool check_infinity_b () const;
-};
#endif