]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie-details.hh
Run grand-replace (issue 3765)
[lilypond.git] / lily / include / tie-details.hh
1 /*
2   This file is part of LilyPond, the GNU music typesetter.
3
4   Copyright (C) 2006--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
5
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
8   the Free Software Foundation, either version 3 of the License, or
9   (at your option) any later version.
10
11   LilyPond is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   GNU General Public License for more details.
15
16   You should have received a copy of the GNU General Public License
17   along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef TIE_DETAILS_HH
21 #define TIE_DETAILS_HH
22
23 #include "lily-proto.hh"
24
25 struct Tie_details
26 {
27   Real height_limit_;
28   Real ratio_;
29   Real staff_space_;
30   Real x_gap_;
31   Real stem_gap_;
32   Real between_length_limit_;
33   Real wrong_direction_offset_penalty_;
34   Real same_dir_as_stem_penalty_;
35   Real min_length_penalty_factor_;
36   Real min_length_;
37   Real skyline_padding_;
38   Real tip_staff_line_clearance_;
39   Real center_staff_line_clearance_;
40   Real staff_line_collision_penalty_;
41   Real dot_collision_clearance_;
42   Real dot_collision_penalty_;
43   Real tie_column_monotonicity_penalty_;
44   Real tie_tie_collision_penalty_;
45   Real tie_tie_collision_distance_;
46   Real horizontal_distance_penalty_factor_;
47   Real vertical_distance_penalty_factor_;
48   Real intra_space_threshold_;
49   Real outer_tie_length_symmetry_penalty_factor_;
50   Real outer_tie_vertical_distance_symmetry_penalty_factor_;
51   Real outer_tie_vertical_gap_;
52   Grob *staff_symbol_referencer_;
53
54   int single_tie_region_size_;
55   int multi_tie_region_size_;
56   Direction neutral_direction_;
57
58   Tie_details ();
59   void from_grob (Grob *);
60 };
61
62 #endif /* TIE_DETAILS_HH */
63