]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/atom.hh
release: 1.3.28
[lilypond.git] / lily / include / atom.hh
index fcd434f0ab4f3e0226c2a375edf394f80001f17f..10b6fcb3645fdf377940927f0ea04fadae5b1601 100644 (file)
@@ -3,36 +3,18 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #ifndef ATOM_HH
 #define ATOM_HH
 
-#include "lily-guile.hh"
-#include "string.hh"
-#include "box.hh"
 #include "lily-proto.hh"
+#include "box.hh"
+#include "lily-guile.hh"
 
-/// a symbol which can be translated, and freely copied
-class Atom {
-  Offset off_;
-public:
-  String str_;
-  String font_;
-  SCM lambda_;
-  Box dim_;
+SCM translate_atom (Offset, SCM);
+SCM translate_atom_axis (Real, Axis,SCM); 
+SCM fontify_atom (Font_metric*, SCM atom);
 
-  Offset offset () const;
-  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;
-  bool check_infinity_b () const;
-  bool empty() const;
-};
 #endif