|
From: | Andrew Bernard |
Subject: | Line cap style in scheme |
Date: | Fri, 21 Oct 2016 11:05:01 +1100 |
I’m writing a function to make horizontal slashes through note stems. The function make-line-stencil uses round end caps, but I prefer square or butt style. I have asked this question before on the list, but the pointers to possible answers referred to code for making markups, which is good, whereas I want to set the end cap style for a path stencil. Here’s a fragment of the code in question (not meant to be a MWE, just to give the programming context): (if is-rest? empty-stencil (ly:stencil-add stil (make-path-stencil (list 'moveto start-x start-y 'lineto end-x end-y) thickness 1 1 #t) )) Is it possible to inject calls here to set the postscript line cap style? Andrew |
[Prev in Thread] | Current Thread | [Next in Thread] |