]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/axis-group-interface.hh
release commit
[lilypond.git] / lily / include / axis-group-interface.hh
1 /*
2   axis-group-interface.hh -- declare Axis_group_interface
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2000--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef AXIS_GROUP_INTERFACE_HH
10 #define AXIS_GROUP_INTERFACE_HH
11
12 #include "lily-proto.hh"
13 #include "lily-guile.hh"
14
15 /**
16  */
17 struct Axis_group_interface
18 {
19   static SCM generic_group_extent (Grob *me, Axis a);
20   DECLARE_SCHEME_CALLBACK (width, (SCM smob));
21   DECLARE_SCHEME_CALLBACK (height, (SCM smob));
22   static Interval relative_group_extent (Link_array<Grob> const &list,
23                                          Grob *common, Axis);
24
25   static void add_element (Grob *me, Grob *);
26   static void set_axes (Grob *, Axis, Axis);
27   static bool has_axis (Grob *, Axis);
28   static void get_children (Grob *, Link_array<Grob> *);
29   static bool has_interface (Grob *);
30 };
31
32 #endif /* AXIS_GROUP_INTERFACE_HH */
33