+2002-06-24 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * lily/text-spanner.cc: add some props to interface (patch
+ courtesy Chris J).
+
2002-06-24 Jan Nieuwenhuizen <janneke@gnu.org>
* lily/text-spanner.cc (setup_pedal_bracket): Bugfix: only
{
assert (gh_string_p (s));
- size_t len;
- char *p = gh_scm2newstr (s , &len);
-
+ char *p = SCM_STRING_CHARS(s);
String r (p);
-
- free (p);
return r;
}
ADD_INTERFACE (Text_spanner,"text-spanner-interface",
"generic text spanner",
- "dash-period if-text-padding dash-length edge-height edge-widen edge-text shorten-pair type");
+ "dash-period if-text-padding dash-length edge-height edge-widen edge-text shorten-pair type thickness outer width-correct");
(grob-property-description 'note-heads grob-list? "List of note head grobs")
(grob-property-description 'number-threshold number? "only put numbers bigger than this threshold over multi measure rest.")
(grob-property-description 'old-accidentals list? "list of (pitch, accidental) pairs.")
+(grob-property-description 'outer boolean? "whether a text spanner should extend to the outer edge of the spanned notes")
(grob-property-description 'padding number? "add this much extra space between objects that are next to each other.")
(grob-property-description 'pedal-type symbol? "Style of piano pedal: text, bracket or mixed.")
(grob-property-description 'pedal-text ly-grob? "Pointer to the text of a mixed-style piano pedal.")
(grob-property-description 'begin-alignment number? "proportion of lyric length from beginning to align with note-head for left-aligned lyrics.")
(grob-property-description 'end-alignment number? "proportion of lyric length from end to align with note-head for right-aligned lyrics.")
(grob-property-description 'width number? "width of a grob measured in staff space.")
+(grob-property-description 'width-correct number? "width correction for (de)cresc. text spanners.")
(grob-property-description 'x-gap number? "horizontal gap between notehead and tie.")
(grob-property-description 'y-free number? "minimal vertical gap between slur and noteheads or stems.")
(grob-property-description 'y-offset number? "extra vertical offset for ties away from the center line.")