Re: [frogs] Changing subproperties with grob-set-property (working on bug #40) |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: Marc Hohl <marc@xxxxxxxxxx>, Neil Puttock <n.puttock@xxxxxxxxx>, "frogs@xxxxxxxxxxx" <frogs@xxxxxxxxxxx>
- Subject: Re: [frogs] Changing subproperties with grob-set-property (working on bug #40)
- From: Carl Sorensen <c_sorensen@xxxxxxx>
- Date: Fri, 20 Nov 2009 16:09:25 -0700
- Accept-language: en-US
- Acceptlanguage: en-US
- Thread-index: Acppsht/E3wdg3swQoq3DI1XjgcBVgAhGT+J
- Thread-topic: [frogs] Changing subproperties with grob-set-property (working on bug #40)
On 11/20/09 12:21 AM, "Marc Hohl" <marc@xxxxxxxxxx> wrote:
> Neil Puttock schrieb:
>> 2009/11/19 Marc Hohl <marc@xxxxxxxxxx>:
>
>>> (let* ((accidental-width (cdr (ly:grob-extent accidental
>>> accidental X)))
>>>
>>
>> Careful here: the car isn't always zero (see for example the extent of
>> a flat), though in practice, the spacing difference probably isn't
>> that noticeable.
>>
>>
> Ah, thanks for pointing that out!
There's a function that calculates this properly in scm/lily-library.scm:
interval-length
HTH,
Carl
---
----
Join the Frogs!