|
From: | Pierre Perol-Schneider |
Subject: | Re: need markup function for arrow at end of curve |
Date: | Tue, 7 Mar 2017 11:16:50 +0100 |
PierreCheers,Regarding the length and the height, would they affect the curve and the arrow or the curve only?Hi Kieren,Here's a first quick draft:
\version "2.19"
#(define-markup-command (curvedArrow layout props thk mlt) (number? number?)
(interpret-markup layout props
(markup
(#:stencil
(make-path-stencil
'(M 3.01 -0.22
C 6.17 1.59 9.88 1.09 13.35 1.05
C 13.47 1.19 12.99 1.75 13.23 1.94
C 14.66 1.15 16.91 0.92 16.93 0.71
C 16.93 0.57 15.13 0.56 13.32 -0.37
C 13.17 -0.09 13.48 0.31 13.35 0.50
C 10.56 0.59 7.90 0.73 5.97 0.33
C 4.04 -0.07 -0.16 -2.02 3.01 -0.22
Z)
thk mlt mlt #t)))))
\markup \curvedArrow #.1 #12017-03-06 3:58 GMT+01:00 Kieren MacMillan <address@hidden> :______________________________Hi all,Anyone with reasonable \path chops out there? I need a function that outputs a markup like this:In a perfect world, the length, height, Y-direction, X-direction, and line thickness would all be parameters… but even one sample would be enough for me to riff on.Thanks!Kieren.________________________________
Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden_________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |