]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/symbol.hh
release: 0.1.7
[lilypond.git] / lily / include / symbol.hh
index e1e24b25e068b45dfbe405471e0649be60187ef9..3e2eafc7d3ab592a262a669f4d1d47fc386e4af9 100644 (file)
@@ -33,13 +33,9 @@ struct Atom {
     void translate(Offset o) {
        off_ += o;
     }
-    void translate_x(Real r){ 
-       off_.x += r;
+    void translate(Real r,Axis a){
+       off_[a] += r;
     }
-    void translate_y(Real r) {
-       off_.y += r;
-    }
-    
     /// how big is #this#?
     Box extent() const;
     Atom(Symbol s);