[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Flag stencil
From: |
Marc Hohl |
Subject: |
Re: Flag stencil |
Date: |
Thu, 24 Mar 2016 10:58:17 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
Am 24.03.2016 um 09:37 schrieb Andrew Bernard:
Hi Marc,
Thanks. But I specifically mentioned I am drawing my own stencil, not
using a font glyph.
Yep, that's exactly what I wrote. The stuff with the glyphs was just an
explanation for Lilypond's way to *choose* flags not to *stack* them, so
you have to do this in your function, too...
Digging deeper, the answer lies in flag-styles.scm, where can be found a
recursive function buildflag that recursively draws the supplied stencil
in the right offsets according to the supplied duration. So I nearly
have the solution I need.
... as you found out for yourself ;-)
Marc
Andrew
On 24/03/2016, 19:12, "Marc Hohl"
<address@hidden
<mailto:address@hidden> on
behalf of address@hidden <mailto:address@hidden>> wrote:
So you have to check duration-log and draw the suitable number of flags
according to its value.
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user