]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/self-alignment-interface.hh
* flower
[lilypond.git] / lily / include / self-alignment-interface.hh
1 /*
2   side-position-interface.hh -- declare Side_position_interface
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9 #ifndef SELF_ALIGNMENT_INTERFACE_HH
10 #define SELF_ALIGNMENT_INTERFACE_HH
11
12 #include "spanner.hh"
13
14 struct Self_alignment_interface
15 {
16   static bool has_interface (Grob *);
17   DECLARE_SCHEME_CALLBACK (aligned_on_self, (SCM element, SCM axis));
18   DECLARE_SCHEME_CALLBACK (centered_on_parent, (SCM element, SCM axis));
19   DECLARE_SCHEME_CALLBACK (aligned_on_parent, (SCM element, SCM axis));
20   DECLARE_SCHEME_CALLBACK (centered_on_other_axis_parent, (SCM element, SCM axis));
21 };
22 #endif