lilypond-devel
[Top][All Lists]
Advanced

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

Re: transition between full-length and shortened stems - please discuss


From: Han-Wen Nienhuys
Subject: Re: transition between full-length and shortened stems - please discuss
Date: Mon, 21 Feb 2011 15:24:41 -0300

2011/2/21 Janek Warchoł <address@hidden>:
> 2011/2/21 Han-Wen Nienhuys <address@hidden>:
>> Can you make your code be less hardcoded?  I propose something like:
>>
>>  factor = (1+abs(hp[dir])) / (2*staff_radius + 1)
>>  shorten *= min(factor, 1.0)
>
> What staff_radius is? I tried to find an explanation, but to no avail...

Look for Staff_symbol_reference::staff_radius.

-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen



reply via email to

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