Re: [frogs] Changing subproperties with grob-set-property (working on bug #40)

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]


Carl Sorensen schrieb:

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
Even better! Thanks!

Marc


---
----
Join the Frogs!


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/