]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/slur-score-parameters.hh
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / lily / include / slur-score-parameters.hh
1 /*
2   This file is part of LilyPond, the GNU music typesetter.
3
4   Copyright (C) 2006--2010 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 SLUR_SCORE_PARAMATERS_HH
21 #define SLUR_SCORE_PARAMATERS_HH
22
23 #include "lily-proto.hh"
24
25 struct Slur_score_parameters
26 {
27   int region_size_;
28
29   Real head_encompass_penalty_;
30   Real stem_encompass_penalty_;
31   Real closeness_factor_;
32   Real edge_attraction_factor_;
33   Real same_slope_penalty_;
34   Real steeper_slope_factor_;
35   Real non_horizontal_penalty_;
36   Real max_slope_;
37   Real max_slope_factor_;
38   Real extra_object_collision_penalty_;
39   Real accidental_collision_;
40   Real free_slur_distance_;
41   Real free_head_distance_;
42   Real extra_encompass_collision_distance_;
43   Real extra_encompass_free_distance_;
44   Real absolute_closeness_measure_;
45   Real edge_slope_exponent_;
46   Real head_slur_distance_max_ratio_;
47   Real head_slur_distance_factor_;
48
49   void fill (Grob *him);
50 };
51 #endif /* SLUR_SCORE_PARAMATERS_HH */