lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flag stencil


From: Malte Meyn
Subject: Re: Flag stencil
Date: Thu, 24 Mar 2016 10:33:45 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Isn’t

\override Flag.stencil = #modern-straight-flag
or
\override Flag.stencil = #(straight-flag [some values, see flag-styles.scm for explanation])

what you want? I think you don’t need to write the stencil from scratch ;)

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.

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.

Andrew


On 24/03/2016, 19:12, "Marc Hohl" <address@hidden on behalf of 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]