From: Han-Wen Nienhuys Date: Sun, 21 Aug 2005 13:55:24 +0000 (+0000) Subject: * lily/tie.cc: remove minimum-length X-Git-Tag: release/2.7.7~16 X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=92890273072beeef060b11d9f1438e7d44eda23b;p=lilypond.git * lily/tie.cc: remove minimum-length * scm/define-grob-properties.scm (all-user-grob-properties): remove staffline-clearance, y-offset * lily/tie.cc (get_control_points): rewrite. Put short ties in staff-spaces, make long ties cross staff lines. Avoid flags and dots. --- diff --git a/ChangeLog b/ChangeLog index cf6323491b..b3665ca70a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2005-08-21 Han-Wen Nienhuys + * lily/tie.cc: remove minimum-length + + * scm/define-grob-properties.scm (all-user-grob-properties): + remove staffline-clearance, y-offset + * input/regression/tie-dots.ly (Module): remove. * lily/tie.cc (get_control_points): rewrite. Put short ties in diff --git a/lily/tie.cc b/lily/tie.cc index dc813bdeff..0f69567361 100644 --- a/lily/tie.cc +++ b/lily/tie.cc @@ -379,7 +379,12 @@ Tie::print (SCM smob) ADD_INTERFACE (Tie, "tie-interface", "A tie connecting two noteheads.\n", - - "y-offset dash-period dash-fraction " - "staffline-clearance control-points head-pair " - "details thickness x-gap direction minimum-length"); + + "control-points " + "dash-fraction" + "dash-period " + "details " + "direction" + "head-pair " + "thickness " + "x-gap "); diff --git a/scm/define-grob-properties.scm b/scm/define-grob-properties.scm index bafa9c8cd1..05c5782136 100644 --- a/scm/define-grob-properties.scm +++ b/scm/define-grob-properties.scm @@ -431,8 +431,6 @@ expressed in global staffspace.") (staff-position ,number? "Vertical position, measured in half staff spaces, counted from the middle line.") - (staffline-clearance ,ly:dimension? "How far away ties keep from -staff lines.") (stemlet-length ,number? "How long should a stem over a rest be?") (stem-attachment-function ,procedure? "A function that calculates where a stem attaches to the note head? This is a fallback when this @@ -483,8 +481,6 @@ happen?") words in texts.") (width ,ly:dimension? "The width of a grob measured in staff space.") (x-gap ,ly:dimension? "The horizontal gap between note head and tie.") - (y-offset ,ly:dimension? "Extra vertical offset for ties away -from the center line.") (zigzag-length ,ly:dimension? "The length of the lines of a zigzag, relative to @code{zigzag-width}. A value of 1 gives 60-degree zigzags.") diff --git a/scm/define-grobs.scm b/scm/define-grobs.scm index 517576aea6..fdc5145cfe 100644 --- a/scm/define-grobs.scm +++ b/scm/define-grobs.scm @@ -1436,11 +1436,8 @@ (Tie . ( (print-function . ,Tie::print) -; (spacing-procedure . ,Spanner::set_spacing_rods) - (staffline-clearance . 0.35) (details . ((ratio . 0.333) (height-limit . 1.0))) (thickness . 1.0) -; (x-gap . -0.1) (y-offset . 0.6) (minimum-length . 2.5) (meta . ((class . Spanner)