Re: drawing curves in markup (was: draw-line)

2015-03-18 Thread Kevin Barry
On Tue, Mar 17, 2015 at 9:21 PM, Thomas Morley wrote: > I attach my approach to create arrowed slurs. This is very useful for me. Thank you! Kevin ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-us

Re: drawing curves in markup (was: draw-line)

2015-03-18 Thread Kevin Barry
On Tue, Mar 17, 2015 at 9:48 PM, Carl Sorensen wrote: > The tangent to a bezier curve at the endpoint is the line that goes from > the endpoint to the control point. It's really easy to get if you have > the bezier definition. > This seems so obvious I'm surprised I didn't think of it! Thank yo

drawing curves in markup (was: draw-line)

2015-03-17 Thread Carl Sorensen
2015-03-17 15:52 GMT+01:00 Kevin Barry : > If I knew more about mathematics I might know how to calculate the >tangent to a > bezier curve at the end point (to know how much to rotate the arrowhead) >and the > function wouldn't be such a hack. The tangent to a bezier curve at the endpoint is t

Re: drawing curves in markup (was: draw-line)

2015-03-17 Thread Thomas Morley
2015-03-17 15:52 GMT+01:00 Kevin Barry : > Just as a follow up to Stephen's question: for analytic examples I have to > draw curved lines all the time, usually with arrow-heads attached at the > end, so I made a function to do it given just the coordinates of the > desired destination. Using curve

drawing curves in markup (was: draw-line)

2015-03-17 Thread Kevin Barry
Just as a follow up to Stephen's question: for analytic examples I have to draw curved lines all the time, usually with arrow-heads attached at the end, so I made a function to do it given just the coordinates of the desired destination. Using curveto is very slow because of all the trial and error