2 This file is part of LilyPond, the GNU music typesetter.
4 Copyright (C) 2006--2015 Han-Wen Nienhuys <hanwen@xs4all.nl>
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.
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.
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/>.
20 #ifndef SLUR_SCORE_PARAMATERS_HH
21 #define SLUR_SCORE_PARAMATERS_HH
23 #include "lily-proto.hh"
25 struct Slur_score_parameters
29 Real head_encompass_penalty_;
30 Real stem_encompass_penalty_;
31 Real edge_attraction_factor_;
32 Real same_slope_penalty_;
33 Real steeper_slope_factor_;
34 Real non_horizontal_penalty_;
36 Real max_slope_factor_;
37 Real extra_object_collision_penalty_;
38 Real accidental_collision_;
39 Real free_slur_distance_;
40 Real free_head_distance_;
41 Real extra_encompass_collision_distance_;
42 Real extra_encompass_free_distance_;
43 Real gap_to_staffline_inside_;
44 Real gap_to_staffline_outside_;
45 Real absolute_closeness_measure_;
46 Real edge_slope_exponent_;
47 Real close_to_edge_length_;
48 Real head_slur_distance_max_ratio_;
49 Real head_slur_distance_factor_;
50 Real encompass_object_range_overshoot_;
51 Real slur_tie_extrema_min_distance_;
52 Real slur_tie_extrema_min_distance_penalty_;
54 void fill (Grob *him);
56 #endif /* SLUR_SCORE_PARAMATERS_HH */