LEFT | RIGHT |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 2000--2011 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 2000--2011 Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 6 LilyPond is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 DECLARE_SCHEME_CALLBACK (calc_skylines, (SCM smob)); | 38 DECLARE_SCHEME_CALLBACK (calc_skylines, (SCM smob)); |
39 DECLARE_SCHEME_CALLBACK (combine_skylines, (SCM smob)); | 39 DECLARE_SCHEME_CALLBACK (combine_skylines, (SCM smob)); |
40 DECLARE_SCHEME_CALLBACK (print, (SCM smob)); | 40 DECLARE_SCHEME_CALLBACK (print, (SCM smob)); |
41 DECLARE_SCHEME_CALLBACK (adjacent_pure_heights, (SCM)); | 41 DECLARE_SCHEME_CALLBACK (adjacent_pure_heights, (SCM)); |
42 DECLARE_SCHEME_CALLBACK (calc_staff_staff_spacing, (SCM)); | 42 DECLARE_SCHEME_CALLBACK (calc_staff_staff_spacing, (SCM)); |
43 DECLARE_SCHEME_CALLBACK (calc_pure_staff_staff_spacing, (SCM, SCM, SCM)); | 43 DECLARE_SCHEME_CALLBACK (calc_pure_staff_staff_spacing, (SCM, SCM, SCM)); |
44 DECLARE_SCHEME_CALLBACK (calc_pure_relevant_grobs, (SCM)); | 44 DECLARE_SCHEME_CALLBACK (calc_pure_relevant_grobs, (SCM)); |
45 DECLARE_SCHEME_CALLBACK (calc_pure_relevant_items, (SCM)); | 45 DECLARE_SCHEME_CALLBACK (calc_pure_relevant_items, (SCM)); |
46 DECLARE_SCHEME_CALLBACK (calc_pure_relevant_spanners, (SCM)); | 46 DECLARE_SCHEME_CALLBACK (calc_pure_relevant_spanners, (SCM)); |
47 DECLARE_SCHEME_CALLBACK (calc_pure_y_common, (SCM)); | 47 DECLARE_SCHEME_CALLBACK (calc_pure_y_common, (SCM)); |
48 static SCM internal_calc_pure_relevant_grobs (SCM, string); | 48 static SCM internal_calc_pure_relevant_grobs (Grob *, string); |
49 static Interval relative_group_extent (vector<Grob *> const &list, | 49 static Interval relative_group_extent (vector<Grob *> const &list, |
50 Grob *common, Axis); | 50 Grob *common, Axis); |
51 static Interval relative_maybe_bound_group_extent (vector<Grob *> const &list, | 51 static Interval relative_maybe_bound_group_extent (vector<Grob *> const &list, |
52 Grob *common, Axis, bool); | 52 Grob *common, Axis, bool); |
53 static Interval relative_pure_height (Grob *me, int start, int end); | 53 static Interval relative_pure_height (Grob *me, int start, int end); |
54 static Interval combine_pure_heights (Grob *me, SCM, int, int); | 54 static Interval combine_pure_heights (Grob *me, SCM, int, int); |
55 static Interval sum_partial_pure_heights (Grob *me, int, int); | 55 static Interval sum_partial_pure_heights (Grob *me, int, int); |
56 static Interval begin_of_line_pure_height (Grob *me, int); | 56 static Interval begin_of_line_pure_height (Grob *me, int); |
57 static Interval rest_of_line_pure_height (Grob *me, int, int); | 57 static Interval rest_of_line_pure_height (Grob *me, int, int); |
58 static Interval part_of_line_pure_height (Grob *me, bool begin, int, int); | 58 static Interval part_of_line_pure_height (Grob *me, bool begin, int, int); |
59 | 59 |
60 static bool has_outside_staff_parent (Grob *me); | 60 static bool has_outside_staff_parent (Grob *me); |
61 static Skyline_pair skyline_spacing (Grob *me, vector<Grob *> elements); | 61 static Skyline_pair skyline_spacing (Grob *me, vector<Grob *> elements); |
62 static void add_element (Grob *me, Grob *); | 62 static void add_element (Grob *me, Grob *); |
63 static void set_axes (Grob *, Axis, Axis); | 63 static void set_axes (Grob *, Axis, Axis); |
64 static bool has_axis (Grob *, Axis); | 64 static bool has_axis (Grob *, Axis); |
65 static void get_children (Grob *, vector<Grob *> *); | 65 static void get_children (Grob *, vector<Grob *> *); |
66 static Interval staff_extent (Grob *me, Grob *ref, Axis, Grob *staff, Axis); | 66 static Interval staff_extent (Grob *me, Grob *ref, Axis, Grob *staff, Axis); |
67 static SCM calc_common (Grob *, Axis); | 67 static SCM calc_common (Grob *, Axis); |
68 static Real minimum_distance (Grob *, Grob *, Axis); | 68 static Real minimum_distance (Grob *, Grob *, Axis); |
69 static SCM calc_maybe_pure_staff_staff_spacing (Grob *, bool, int, int); | 69 static SCM calc_maybe_pure_staff_staff_spacing (Grob *, bool, int, int); |
70 DECLARE_GROB_INTERFACE (); | 70 DECLARE_GROB_INTERFACE (); |
71 }; | 71 }; |
72 | 72 |
73 #endif /* AXIS_GROUP_INTERFACE_HH */ | 73 #endif /* AXIS_GROUP_INTERFACE_HH */ |
74 | 74 |
LEFT | RIGHT |