lilypond-devel
[Top][All Lists]
Advanced

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

Re: line_count fixes (issue 6211047)


From: k-ohara5a5a
Subject: Re: line_count fixes (issue 6211047)
Date: Sat, 14 Jul 2012 07:46:59 +0000


http://codereview.appspot.com/6211047/diff/20001/lily/bar-line.cc
File lily/bar-line.cc (right):

http://codereview.appspot.com/6211047/diff/20001/lily/bar-line.cc#newcode151
lily/bar-line.cc:151: Real const gap_to_find = (1.0 + 3 * staffline) /
staff_space;
It seems you want
Real const gap_to_find = (dot.extent(Y_AXIS).length()
                          + 3 * staffline
                          ) / staff_space *2 ;
where the *2 is because you compare the gap_to_find with differences of
staff positions, and the distance of a staff space is two positions (as
E to G).

http://codereview.appspot.com/6211047/



reply via email to

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