]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/offset.cc
*** empty log message ***
[lilypond.git] / flower / offset.cc
index 92d2937b0a834642dccf34d3f935a90fd2214773..41eb841c244b925e5679cad9cb43390afb6643cb 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 #include <math.h>
 
 
 #ifndef STANDALONE
 String
-Offset::string () const
+Offset::to_string () const
 {
   String s;
-  s = String (" (") + to_string (coordinate_a_[X_AXIS]) + ", " 
-    + to_string (coordinate_a_[Y_AXIS]) + ")";
+  s = String (" (") + ::to_string (coordinate_a_[X_AXIS]) + ", " 
+    + ::to_string (coordinate_a_[Y_AXIS]) + ")";
   return s;
 }
 #endif
@@ -91,8 +91,3 @@ Offset::length () const
 {
   return sqrt (sqr (coordinate_a_[X_AXIS]) + sqr (coordinate_a_[Y_AXIS]));
 }
-void
-Offset::mirror (Axis a)
-{
-  coordinate_a_[a] = - coordinate_a_[a];
-}