[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to catch the current height of a StaffGroup?
From: |
Thomas Morley |
Subject: |
Re: How to catch the current height of a StaffGroup? |
Date: |
Wed, 23 May 2012 19:19:11 +0200 |
2012/5/23 Urs Liska <address@hidden>:
> but shouldn't a standard barline have the desired length by default?
Of course, but the new BreathingSign-stencil is only to visualize that
I've got the correct value.
And a BarLine lives in Staff-context but I want the "StaffGroup-size".
Trying:
\override Score.BarLine #'stencil =
#(lambda (grob)
(let* ((stil (ly:bar-line::print grob))
(stil-ext-y (interval-length
(ly:stencil-extent stil Y))))
(newline)(display stil-ext-y)
stil))
returns every time the same value, in this case: 3.9975
As expected.
- How to catch the current height of a StaffGroup?, Thomas Morley, 2012/05/23
- Re: How to catch the current height of a StaffGroup?, Urs Liska, 2012/05/23
- Re: How to catch the current height of a StaffGroup?,
Thomas Morley <=
- Re: How to catch the current height of a StaffGroup?, address@hidden, 2012/05/23
- Re: How to catch the current height of a StaffGroup?, Thomas Morley, 2012/05/23
- Re: How to catch the current height of a StaffGroup?, David Kastrup, 2012/05/23
- Re: How to catch the current height of a StaffGroup?, Thomas Morley, 2012/05/23
- Re: How to catch the current height of a StaffGroup?, David Kastrup, 2012/05/23
- Re: How to catch the current height of a StaffGroup?, Thomas Morley, 2012/05/23
- Re: How to catch the current height of a StaffGroup?, Thomas Morley, 2012/05/23