]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/axis.cc
(spelling) change "excentricity" to "eccentricity".
[lilypond.git] / flower / axis.cc
index 61cb194118110efbd8940ba433025d3ca3fc74aa..d26d2df06be1b12bc0f633dbc23f6fc2d12e564c 100644 (file)
@@ -1,13 +1,11 @@
 /*
   axis.cc -- implement Axis
 
-
-
-  (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
-#include <assert.h>
-#include "axes.hh"
+#include "axis.hh"
+
 #include "string.hh"
 
 String
@@ -15,31 +13,3 @@ axis_name_string (Axis a)
 {
   return to_string (char (a + 'x'));
 }
-
-
-Axis
-other_axis (Axis a)
-{
-  return a ==  Y_AXIS ? X_AXIS : Y_AXIS;
-}
-
-/*
-  TODO inline these.
- */
-Axis
-post_incr (Axis &a)
-{
-  assert (a < NO_AXES);
-  Axis b= a;
-  a = Axis (int (a) + 1);
-  return b;
-}
-
-Axis
-incr (Axis &a)
-{
-  assert (a < NO_AXES);
-  a = Axis (int (a) + 1);
-  return a;
-}
-