1 /*
2   This file is part of LilyPond, the GNU music typesetter.
3 
4   Copyright (C) 2006--2021 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 class Tie_details
26 {
27 public:
28   Real height_limit_;
29   Real ratio_;
30   Real staff_space_;
31   Real x_gap_;
32   Real stem_gap_;
33   Real between_length_limit_;
34   Real wrong_direction_offset_penalty_;
35   Real same_dir_as_stem_penalty_;
36   Real min_length_penalty_factor_;
37   Real min_length_;
38   Real skyline_padding_;
39   Real tip_staff_line_clearance_;
40   Real center_staff_line_clearance_;
41   Real staff_line_collision_penalty_;
42   Real dot_collision_clearance_;
43   Real dot_collision_penalty_;
44   Real tie_column_monotonicity_penalty_;
45   Real tie_tie_collision_penalty_;
46   Real tie_tie_collision_distance_;
47   Real horizontal_distance_penalty_factor_;
48   Real vertical_distance_penalty_factor_;
49   Real intra_space_threshold_;
50   Real outer_tie_length_symmetry_penalty_factor_;
51   Real outer_tie_vertical_distance_symmetry_penalty_factor_;
52   Real outer_tie_vertical_gap_;
53   Grob *staff_symbol_referencer_;
54 
55   int single_tie_region_size_;
56   int multi_tie_region_size_;
57   Direction neutral_direction_;
58 
59   Tie_details ();
60   void from_grob (Grob *);
61 };
62 
63 #endif /* TIE_DETAILS_HH */
64 
65