]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/tie-details.hh
tie-details.hh
[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 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 min_length_penalty_factor_;
25   Real min_length_;
26   Real tip_staff_line_clearance_;
27   Real center_staff_line_clearance_;
28   Real staff_line_collision_penalty_;
29   Real dot_collision_clearance_;
30   Real dot_collision_penalty_;
31   Real tie_column_monotonicity_penalty_;
32   Real tie_tie_collision_penalty_;
33   Real tie_tie_collision_distance_;
34   Real horizontal_distance_penalty_factor_;
35   Real vertical_distance_penalty_factor_;
36   Real intra_space_threshold_;
37   Real outer_tie_length_symmetry_penalty_factor_;
38   Real outer_tie_vertical_distance_symmetry_penalty_factor_;
39   Real outer_tie_vertical_gap_;
40   Grob *staff_symbol_referencer_;
41
42   int single_tie_region_size_;
43   int multi_tie_region_size_;
44   
45   Tie_details ();
46   void from_grob (Grob *);
47 };
48
49 #endif /* TIE_DETAILS_HH */
50
51