]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/atom.hh
release: 1.3.28
[lilypond.git] / lily / include / atom.hh
index d25942c33643bc08039dfb6f0c48d71ccfc0d78c..10b6fcb3645fdf377940927f0ea04fadae5b1601 100644 (file)
@@ -3,35 +3,18 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997 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
-struct Atom {
-  String tex_;
-  Box dim_;
-  Offset off_;
-
-  String str() const;          // for printing.
-  Atom (String, Box);
-    Atom ();
-  void translate (Offset o) {
-    off_ += o;
-  }
-  void translate (Real r,Axis a){
-    off_[a] += r;
-  }
-  /// how big is #this#?
-  Box extent() const;
-  void print() const;
-  String TeX_string() const;
-};
 #endif