|
From: | Robin Bannister |
Subject: | Re: How to properly scale a line in markup? |
Date: | Sun, 5 Nov 2017 13:29:13 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
Thomas Morley wrote:
In the real markup-command there will be no "A", so I can't go for stencil-extent of it.
. . . > Am I missing something? I have the feeling it must be me that's missing something, but can't you keep the "A" and just not print it? (let* ((ref-stil (interpret-markup layout props "A")) (y-ext (ly:stencil-extent ref-stil Y))) (ly:round-filled-box '(0 . 0.1) y-ext 0.08))) Cheers, Robin
[Prev in Thread] | Current Thread | [Next in Thread] |