Generate special note head shapes: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
When a note head with a special shape cannot easily be generated with graphic markup, a drawing specification for <code>ly:make-stencil</code> can be used to generate the shape. This | When a note head with a special shape cannot easily be generated with graphic markup, a drawing specification for <code>ly:make-stencil</code> can be used to generate the shape. This snippet gives an example for a parallelogram-shaped note head. | ||
Unfortunately, the available commands in a drawing specification are currently not documented (this is tracked in {{Issue|6874}}); in any case, the used <code>path</code> sub-command has the following signature, quite similar to the <code>make-path-stencil</code> Scheme function. | Unfortunately, the available commands in a drawing specification are currently not documented (this is tracked in {{Issue|6874}}); in any case, the used <code>path</code> sub-command has the following signature, quite similar to the <code>make-path-stencil</code> Scheme function. | ||