From 0b2470902055ac060290c411779dc9cac1ec4105 Mon Sep 17 00:00:00 2001 From: hanwen Date: Tue, 21 Feb 2006 13:06:16 +0000 Subject: [PATCH] tie-details.hh --- lily/include/tie-details.hh | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 lily/include/tie-details.hh diff --git a/lily/include/tie-details.hh b/lily/include/tie-details.hh new file mode 100644 index 0000000000..0e74d3497a --- /dev/null +++ b/lily/include/tie-details.hh @@ -0,0 +1,51 @@ +/* + tie-details.hh -- declare Tie_details + + source file of the GNU LilyPond music typesetter + + (c) 2006 Han-Wen Nienhuys + +*/ + +#ifndef TIE_DETAILS_HH +#define TIE_DETAILS_HH + +#include "lily-proto.hh" + +struct Tie_details +{ + Real height_limit_; + Real ratio_; + Real staff_space_; + Real x_gap_; + Real stem_gap_; + Real between_length_limit_; + Real wrong_direction_offset_penalty_; + Real min_length_penalty_factor_; + Real min_length_; + Real tip_staff_line_clearance_; + Real center_staff_line_clearance_; + Real staff_line_collision_penalty_; + Real dot_collision_clearance_; + Real dot_collision_penalty_; + Real tie_column_monotonicity_penalty_; + Real tie_tie_collision_penalty_; + Real tie_tie_collision_distance_; + Real horizontal_distance_penalty_factor_; + Real vertical_distance_penalty_factor_; + Real intra_space_threshold_; + Real outer_tie_length_symmetry_penalty_factor_; + Real outer_tie_vertical_distance_symmetry_penalty_factor_; + Real outer_tie_vertical_gap_; + Grob *staff_symbol_referencer_; + + int single_tie_region_size_; + int multi_tie_region_size_; + + Tie_details (); + void from_grob (Grob *); +}; + +#endif /* TIE_DETAILS_HH */ + + -- 2.39.5