2 align-interface.hh -- declare Align_interface
4 source file of the GNU LilyPond music typesetter
6 (c) 2000--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef ALIGN_INTERFACE_HH
11 #define ALIGN_INTERFACE_HH
14 #include "lily-proto.hh"
15 #include "lily-guile.hh"
17 struct Align_interface {
18 DECLARE_SCHEME_CALLBACK(alignment_callback, (SCM element, SCM axis));
19 DECLARE_SCHEME_CALLBACK(fixed_distance_alignment_callback, (SCM element, SCM axis));
20 static void align_to_fixed_distance (Grob*,Axis a);
21 static void align_to_extents (Grob*,Axis a);
22 static void set_axis (Grob*,Axis);
23 static Axis axis (Grob*) ;
24 static void add_element (Grob*,Grob*, SCM callback);
25 static int get_count (Grob*,Grob*);
26 static void set_interface (Grob*);
27 static bool has_interface (Grob*);
30 #endif /* ALIGN_INTERFACE_HH */