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--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 2000--2012 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 Grob *common, Axis); | 57 Grob *common, Axis); |
58 static Interval relative_maybe_bound_group_extent (vector<Grob *> const &list, | 58 static Interval relative_maybe_bound_group_extent (vector<Grob *> const &list, |
59 Grob *common, Axis, bool); | 59 Grob *common, Axis, bool); |
60 static Interval relative_pure_height (Grob *me, int start, int end); | 60 static Interval relative_pure_height (Grob *me, int start, int end); |
61 static Interval combine_pure_heights (Grob *me, SCM, int, int); | 61 static Interval combine_pure_heights (Grob *me, SCM, int, int); |
62 static Interval sum_partial_pure_heights (Grob *me, int, int); | 62 static Interval sum_partial_pure_heights (Grob *me, int, int); |
63 static Interval begin_of_line_pure_height (Grob *me, int); | 63 static Interval begin_of_line_pure_height (Grob *me, int); |
64 static Interval rest_of_line_pure_height (Grob *me, int, int); | 64 static Interval rest_of_line_pure_height (Grob *me, int, int); |
65 static Interval part_of_line_pure_height (Grob *me, bool begin, int, int); | 65 static Interval part_of_line_pure_height (Grob *me, bool begin, int, int); |
66 | 66 |
67 static bool pure_staff_priority_less (Grob *const &g1, Grob *const &g2); | 67 static void sort_outside_staff_elements (Grob *me, vector<Grob *> &elements); |
68 static bool staff_priority_less (Grob *const &g1, Grob *const &g2); | |
69 static Grob *outside_staff_ancestor (Grob *me); | 68 static Grob *outside_staff_ancestor (Grob *me); |
70 static Skyline_pair skyline_spacing (Grob *me); | 69 static Skyline_pair skyline_spacing (Grob *me); |
71 static void add_element (Grob *me, Grob *); | 70 static void add_element (Grob *me, Grob *); |
72 static void set_axes (Grob *, Axis, Axis); | 71 static void set_axes (Grob *, Axis, Axis); |
73 static bool has_axis (Grob *, Axis); | 72 static bool has_axis (Grob *, Axis); |
74 static void get_children (Grob *, vector<Grob *> *); | 73 static void get_children (Grob *, vector<Grob *> *); |
75 static void prepare_for_outside_staff_calculations (Grob *me); | 74 static void prepare_for_outside_staff_calculations (Grob *me); |
76 static Interval staff_extent (Grob *me, Grob *ref, Axis, Grob *staff, Axis); | 75 static Interval staff_extent (Grob *me, Grob *ref, Axis, Grob *staff, Axis); |
77 static SCM calc_common (Grob *, Axis); | 76 static SCM calc_common (Grob *, Axis); |
78 static Real minimum_distance (Grob *, Grob *, Axis); | 77 static Real minimum_distance (Grob *, Grob *, Axis); |
79 static SCM calc_maybe_pure_staff_staff_spacing (Grob *, bool, int, int); | 78 static SCM calc_maybe_pure_staff_staff_spacing (Grob *, bool, int, int); |
80 DECLARE_GROB_INTERFACE (); | 79 DECLARE_GROB_INTERFACE (); |
81 }; | 80 }; |
82 | 81 |
83 #endif /* AXIS_GROUP_INTERFACE_HH */ | 82 #endif /* AXIS_GROUP_INTERFACE_HH */ |
84 | 83 |
LEFT | RIGHT |