lilypond-devel
[Top][All Lists]
Advanced

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

Re: How are dynamics (self-)aligned exactly?


From: Kevin Barry
Subject: Re: How are dynamics (self-)aligned exactly?
Date: Sun, 10 May 2020 09:54:21 +0100

Hi Valentin

On Sun, May 10, 2020 at 10:13:04AM +0200, Valentin Villenave wrote:
> Greetings,
> 
> could anyone give me a hint as to where dynamics alignment is handled?
> As far as I can see, the self-alignment-interface functions are not
> used by the (formerly new) dynamic-engraver; and AFAICS the following
> diff doesn’t break compiling nor change any of the regtests:

As far as I can tell, the self-alignment-interface functions are called
by Grob::try_callback_on_alist (grob.cc). The callback is actually run
by scm_call_1 so perhaps whatever magic (DECLARE_SCHEME_CALLBACK ?)
makes c++ procedures like aligned_on_x_parent available to scheme works
without including the header files in the c++ files that use scm_call_X.

This is just a guess though...

Kevin



reply via email to

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