]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/offset.cc
* configure.in: Test for and accept lmodern if EC fonts not found.
[lilypond.git] / flower / offset.cc
index e9a6d7394a6993d053739f07546caf23b8911d3a..1fae9a3b3cedc99660e67cae5460dfd7b024970a 100644 (file)
@@ -3,15 +3,12 @@
 
   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
-#include "string.hh"
-#endif
 #include "offset.hh"
 
+#include <cmath>
 
 #ifndef STANDALONE
 String
@@ -91,8 +88,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];
-}