lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proposed enhancement to vertical stretching logic


From: Carl D. Sorensen
Subject: Re: proposed enhancement to vertical stretching logic
Date: Mon, 7 Jul 2008 20:55:29 -0600

On 7/7/08 12:00 PM, "Joe Neeman" <address@hidden> wrote:

> On Sat, Jul 5, 2008 at 11:04 PM, Reinhold Kainhofer <address@hidden>
> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----

>>
>>>>>> 2) To work properly also with rhythmic staves and tab staves, I think
>>>>>> that the
>>>>>> springs should go only from the end of one staff to the beginning of the
>>>>>> next, as otherwise the staff extends will already take away some of the
>>>>>> vertical space that should be equally distributed. How do I get the >>>
>>>>>> staff
>>>>>> extents?
>>>>
>>>> I guess you need to find the StaffSymbol somehow...
>>
>> How can I do that? At this point of the code, I only have access to the
>> VerticalAxisGroup. How do I get the staff symbol it is associated with?
>
> The only thing that springs to mind right now is to scan through its 'elements
> (using extract_grob_set), looking for something that implements an appropriate
> StaffSymbol-related interface.
>
According to the IR, a vertical axis group supports the grob-interface.  One
of the elements of the grob-interface is the staff-symbol, and is reported
to return the staff symbol grob.

Carl





reply via email to

[Prev in Thread] Current Thread [Next in Thread]