Hi Kieren,
2017-03-06 15:52 GMT+01:00 Kieren MacMillan <[email protected]>:
> (p.s. How did you do that so quickly?)
>
Probably because I'm use to. ;)
> Is there an easy way to reverse the direction, so that it’s curving and
> pointing to the left?
>
That's easy :
\version "2.19"
#(define-markup-command (curvedArrow layout props thk X-scale Y-scale)
(number? 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.62 0.76 5.69 0.36
C 3.76 -0.04 -0.16 -2.02 3.01 -0.22
Z)
thk X-scale Y-scale #t)))))
%% Test:
{ c' -\markup\curvedArrow #.1 #-1 #1 }
> Ideally, I think the thickness would affect the curve and arrow, but the
> length and height would affect only the curve.
Ok, I'll try that later, maybe tonight.
Cheers,
Pierre
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user