X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fsymbol.hh;h=3e2eafc7d3ab592a262a669f4d1d47fc386e4af9;hb=6a62932652940f4ac2931f75d48796887fbc5fdc;hp=e1e24b25e068b45dfbe405471e0649be60187ef9;hpb=a19cd9c5efcc258ac73e34eac5223879393b6b50;p=lilypond.git diff --git a/lily/include/symbol.hh b/lily/include/symbol.hh index e1e24b25e0..3e2eafc7d3 100644 --- a/lily/include/symbol.hh +++ b/lily/include/symbol.hh @@ -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);