OLD | NEW |
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) 1996--2011 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1996--2011 Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 Jan Nieuwenhuizen <janneke@gnu.org> | 5 Jan Nieuwenhuizen <janneke@gnu.org> |
6 | 6 |
7 LilyPond is free software: you can redistribute it and/or modify | 7 LilyPond is free software: you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation, either version 3 of the License, or | 9 the Free Software Foundation, either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 static vector<Beam_segment> get_beam_segments (Grob *me_grob, Grob **common); | 70 static vector<Beam_segment> get_beam_segments (Grob *me_grob, Grob **common); |
71 | 71 |
72 DECLARE_SCHEME_CALLBACK (rest_collision_callback, (SCM element, SCM prev_off))
; | 72 DECLARE_SCHEME_CALLBACK (rest_collision_callback, (SCM element, SCM prev_off))
; |
73 DECLARE_SCHEME_CALLBACK (pure_rest_collision_callback, (SCM element, SCM prev_
off, SCM, SCM)); | 73 DECLARE_SCHEME_CALLBACK (pure_rest_collision_callback, (SCM element, SCM prev_
off, SCM, SCM)); |
74 DECLARE_SCHEME_CALLBACK (print, (SCM)); | 74 DECLARE_SCHEME_CALLBACK (print, (SCM)); |
75 DECLARE_SCHEME_CALLBACK (calc_beaming, (SCM)); | 75 DECLARE_SCHEME_CALLBACK (calc_beaming, (SCM)); |
76 DECLARE_SCHEME_CALLBACK (calc_stem_shorten, (SCM)); | 76 DECLARE_SCHEME_CALLBACK (calc_stem_shorten, (SCM)); |
77 DECLARE_SCHEME_CALLBACK (calc_direction, (SCM)); | 77 DECLARE_SCHEME_CALLBACK (calc_direction, (SCM)); |
78 DECLARE_SCHEME_CALLBACK (calc_positions, (SCM)); | 78 DECLARE_SCHEME_CALLBACK (calc_positions, (SCM)); |
79 DECLARE_SCHEME_CALLBACK (calc_normal_stems, (SCM)); | 79 DECLARE_SCHEME_CALLBACK (calc_normal_stems, (SCM)); |
80 DECLARE_SCHEME_CALLBACK (calc_concaveness, (SCM)); | |
81 DECLARE_SCHEME_CALLBACK (set_stem_lengths, (SCM)); | 80 DECLARE_SCHEME_CALLBACK (set_stem_lengths, (SCM)); |
82 DECLARE_SCHEME_CALLBACK (calc_cross_staff, (SCM)); | 81 DECLARE_SCHEME_CALLBACK (calc_cross_staff, (SCM)); |
83 | 82 DECLARE_SCHEME_CALLBACK (calc_beam_segments, (SCM)); |
84 /* position callbacks */ | 83 /* position callbacks */ |
85 DECLARE_SCHEME_CALLBACK (quanting, (SCM)); | 84 DECLARE_SCHEME_CALLBACK (quanting, (SCM, SCM, SCM)); |
| 85 DECLARE_SCHEME_CALLBACK (calc_x_positions, (SCM)); |
86 | 86 |
87 static int get_direction_beam_count (Grob *me, Direction d); | 87 static int get_direction_beam_count (Grob *me, Direction d); |
88 | 88 |
89 private: | 89 private: |
90 friend class Beam_scoring_problem; | 90 friend class Beam_scoring_problem; |
91 | 91 |
92 static Direction get_default_dir (Grob *); | 92 static Direction get_default_dir (Grob *); |
| 93 static vector<Beam_segment> get_beam_segments (Grob *); |
93 static void set_stem_directions (Grob *, Direction); | 94 static void set_stem_directions (Grob *, Direction); |
94 static void consider_auto_knees (Grob *); | 95 static void consider_auto_knees (Grob *); |
95 static void set_stem_shorten (Grob *); | 96 static void set_stem_shorten (Grob *); |
96 static int forced_stem_count (Grob *); | 97 static int forced_stem_count (Grob *); |
97 static Real calc_stem_y (Grob *, Grob *s, Grob **c, | 98 static Real calc_stem_y (Grob *, Grob *s, Grob **c, |
98 Real, Real, Direction, | 99 Real, Real, Direction, |
99 Drul_array<Real> pos, bool french); | 100 Drul_array<Real> pos, bool french); |
100 }; | 101 }; |
101 | 102 |
102 #endif /* BEAM_HH */ | 103 #endif /* BEAM_HH */ |
103 | 104 |
OLD | NEW |