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" 
<[email protected] on behalf of [email protected]> 
wrote:

So you have to check duration-log and draw the suitable number of flags
according to its value.




_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to