]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/axis.cc
* scm/lily.scm (postscript->png): new function
[lilypond.git] / flower / axis.cc
index 0bf70a244eca3e39b31c6c4bb79b19c152e8c647..d28657aabe0175e75649e48d813dbd0b68a4035b 100644 (file)
@@ -3,7 +3,7 @@
 
 
 
-  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include <assert.h>
 #include "string.hh"
 
 String
-axis_name_str (Axis a)
+axis_name_string (Axis a)
 {
-  return to_str (char (a + 'x'));
-}
-
-/*
-  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;
+  return to_string (char (a + 'x'));
 }