lilypond-devel
[Top][All Lists]
Advanced

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

Re: Fixes heights and pure heights of stems. (issue 4898044)


From: Neil Puttock
Subject: Re: Fixes heights and pure heights of stems. (issue 4898044)
Date: Mon, 15 Aug 2011 22:33:06 +0100

On 15 August 2011 13:31,  <address@hidden> wrote:

> Also, just a quick reply to let you know that the calc_stem_end and
> calc_stem_begin methods are left in the code base for people who want to
> override the Y-extent of the stem while conserving either the beginning
> or end of the stem, ie:
>
> \override Stem #'Y-extent = #(lambda (grob) (let ((foo
> (ly:stem::calc-stem-begin-position grob))) (cons foo (+ foo 10))))

That's every users who wants cross-staff stems for chords.  Unless you
can come up with a better interface for dealing with cross-staff
stems, I'd rather you keep 'length for this case.

BTW, I had a head-scratching moment with the above override until I
realized that the begin/end-position callbacks return half-staff-space
values.

Cheers,
Neil



reply via email to

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