]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie-details.hh
24402e56c56fcddce176339fa46d42d392e63540
[lilypond.git] / lily / include / tie-details.hh
1 /*
2   tie-details.hh -- declare Tie_details
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2006--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7
8 */
9
10 #ifndef TIE_DETAILS_HH
11 #define TIE_DETAILS_HH
12
13 #include "lily-proto.hh"
14
15 struct Tie_details
16 {
17   Real height_limit_;
18   Real ratio_;
19   Real staff_space_;
20   Real x_gap_;
21   Real stem_gap_; 
22   Real between_length_limit_;
23   Real wrong_direction_offset_penalty_;
24   Real same_dir_as_stem_penalty_;
25   Real min_length_penalty_factor_;
26   Real min_length_;
27   Real skyline_padding_;
28   Real tip_staff_line_clearance_;
29   Real center_staff_line_clearance_;
30   Real staff_line_collision_penalty_;
31   Real dot_collision_clearance_;
32   Real dot_collision_penalty_;
33   Real tie_column_monotonicity_penalty_;
34   Real tie_tie_collision_penalty_;
35   Real tie_tie_collision_distance_;
36   Real horizontal_distance_penalty_factor_;
37   Real vertical_distance_penalty_factor_;
38   Real intra_space_threshold_;
39   Real outer_tie_length_symmetry_penalty_factor_;
40   Real outer_tie_vertical_distance_symmetry_penalty_factor_;
41   Real outer_tie_vertical_gap_;
42   Grob *staff_symbol_referencer_;
43
44   int single_tie_region_size_;
45   int multi_tie_region_size_;
46   Direction neutral_direction_;
47   
48   Tie_details ();
49   void from_grob (Grob *);
50 };
51
52 #endif /* TIE_DETAILS_HH */
53
54