Generate special note head shapes: Difference between revisions
m Lemzwerg moved page Using PostScript to generate special note head shapes to Generate special note head shapes without leaving a redirect |
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 example gives an example for a parallelogram-shaped note head. | 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 example gives an example for a parallelogram-shaped note head. | ||
Unfortunately, the available commands in a drawing specification are | 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. | ||
(path <var>thickness</var> <var>command-list</var> <var>line-cap-style</var> <var>line-join-style</var> <var>fill</var>) | (path <var>thickness</var> <var>command-list</var> <var>line-cap-style</var> <var>line-join-style</var> <var>fill</var>) | ||