lilypond-user
[Top][All Lists]
Advanced

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

Re: [PATCH] Re: Duration dots and Bar lines on custom Staves.


From: Han-Wen Nienhuys
Subject: Re: [PATCH] Re: Duration dots and Bar lines on custom Staves.
Date: Fri, 8 Aug 2008 22:54:48 -0300

This does not make sense to me at all.  line-positions is a property
of the staff symbol, as is line-count.  If someone is calling

 Staff_symbol::on_line(x, y)

where x is not in fact the staff-symbol, then that is an error in the caller.


On Wed, Aug 6, 2008 at 6:39 PM, Neil Puttock <address@hidden> wrote:

> 'line-positions. It doesn't return the correct boolean value when
> called for ties and dots, since in these cases 'me' isn't the
> staff-symbol and line_count (me) will be zero here:
>
> return ((abs (pos + line_count (me)) % 2) == 1);



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




reply via email to

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