Hi,
I have a hard time understanding ly:grob-original and whether I need it.
I'm working on a custom slur stencil and now have to support broken slurs.
I looked into the implementation of \shape (which is only partially
appropriate because it doesn't create a stencil but property overrides)
and found that it splits the grob into its siblings using this code:
(let* ((orig (ly:grob-original grob))
(siblings (if (ly:spanner? grob)
(ly:spanner-broken-into orig) '()))
I don't really see why "orig" is created here. What's the difference
between the last line of the example and using (ly:spanner-broken into
grob) here? As usual the documentation on the Scheme-functions page
isn't helpful ...
TIA
Urs
--
[email protected]
https://openlilylib.org
http://lilypondblog.org
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user