[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hairpin endings
From: |
Thomas Morley |
Subject: |
Re: Hairpin endings |
Date: |
Tue, 25 Apr 2017 00:23:21 +0200 |
Hi David,
2017-04-24 1:34 GMT+02:00 David Nalesnik <address@hidden>:
> On Sun, Apr 23, 2017 at 6:15 PM, Thomas Morley <address@hidden> wrote:
>> 2017-04-23 12:34 GMT+02:00 Andrew Bernard <address@hidden>:
>>
>>> Next thing to do is to achieve the half dashed/half solid appearance - or
>>> can this be done already, in the same way that slurs can?
>>
>> How about:
>
> This is great!
Glad you like it.
>
>>
>> #(define (solid-dashed-print-proc grob startx starty endx endy)
>> (let* ((dash-def (ly:grob-property grob 'dash-definition))
>> (thick
>> (* (layout-line-thickness grob)
>> (ly:grob-property grob 'thickness 0.1))))
>> (if (null? dash-def)
>> (ly:line-interface::line grob startx starty endx endy)
>> (apply ly:stencil-add empty-stencil
>
> Why not reduce instead of apply? Tiny point, but then you won't have
> the extra empty stencil in the stencil expression.
True, so the above should read:
[...]
(reduce ly:stencil-add empty-stencil
[...]
Thanks,
Harm
- Re: Hairpin endings, (continued)
- Re: Hairpin endings, Nathan Ho, 2017/04/21
- Re: Hairpin endings, David Nalesnik, 2017/04/21
- Re: Hairpin endings, Andrew Bernard, 2017/04/23
- Re: Hairpin endings, David Nalesnik, 2017/04/23
- Re: Hairpin endings, Andrew Bernard, 2017/04/23
- Re: Hairpin endings, Thomas Morley, 2017/04/23
- Re: Hairpin endings, David Nalesnik, 2017/04/23
- Re: Hairpin endings,
Thomas Morley <=