]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/self-alignment-interface.hh
Add rotation support
[lilypond.git] / lily / include / self-alignment-interface.hh
index c9438a764b3e47101f9104bd8d5f56a42dd34134..63ea1c0f592085ecbe89f81117c115b1c9bfb9af 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #ifndef SELF_ALIGNMENT_INTERFACE_HH
@@ -16,14 +16,17 @@ struct Self_alignment_interface
   static bool has_interface (Grob *);
 
   static SCM aligned_on_self (Grob *me, Axis a);
-  static SCM centered_on_parent (Grob *me, Axis a);
+  static SCM centered_on_object (Grob *me, Axis a);
   static SCM aligned_on_parent (Grob *me, Axis a);
+  static void set_center_parent (Grob *me, Axis a);
+  static void set_align_self (Grob *me, Axis a);
   
   DECLARE_SCHEME_CALLBACK (x_aligned_on_self, (SCM element));
   DECLARE_SCHEME_CALLBACK (y_aligned_on_self, (SCM element));
 
   DECLARE_SCHEME_CALLBACK (centered_on_x_parent, (SCM element));
   DECLARE_SCHEME_CALLBACK (centered_on_y_parent, (SCM element));
+  DECLARE_SCHEME_CALLBACK (x_centered_on_y_parent, (SCM element));
 
   DECLARE_SCHEME_CALLBACK (aligned_on_x_parent, (SCM element));
   DECLARE_SCHEME_CALLBACK (aligned_on_y_parent, (SCM element));