2011/2/27 Han-Wen Nienhuys <[email protected]>
>
> 2011/2/26 Janek Warchoł <[email protected]>:
>
> http://codereview.appspot.com/4210051/diff/1/lily/stem.cc#newcode360
> >> lily/stem.cc:360: Real shortening_step = min (max (0.25,
> >> (shorten_property / 6)), 0.5);
> >> shouldnt 6 be 2*staff_radius+1 ?
> >
> > No, radius of default staff is 2, so 2*staff_radius+1 = 5 != 6
>
> well, 2*radius+2 then?  Anything that indicates how this number is formed is 
> ok.

Ah, sorry. I missed what you meant.
Well, this nuber is not formed :) It shouldn't depend on staff_radius.
This number determines what the steepness of transition should be
(i.e., what the angle of the red line in the attachment will be). This
angle shouldn't depend on Staff_radius in my opinion.

cheers,
Janek

<<attachment: steepness.PNG>>

_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to