lilypond-devel
[Top][All Lists]
Advanced

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

Re: why don't align to x-extent of a Paper_column?


From: Han-Wen Nienhuys
Subject: Re: why don't align to x-extent of a Paper_column?
Date: Thu, 5 Jul 2012 10:07:53 -0300

On Wed, Jul 4, 2012 at 2:34 PM, Janek Warchoł <address@hidden> wrote:
> Hi,
>
> as i'm working with grob alignment, i've stumbled upon
>
> if (Paper_column::has_interface (him))
>     return scm_from_double (0.0);
>
> in Self_alignment_interface::aligned_on_parent - I'm not sure what is
> its purpose.  This was introduced by Han-Wen's commit
> ebb1f1f12ab21af1d365a635aa17e39e47a7c2b5, but the commit doesn't
> contain any additional explanations.

Paper column extents usually are not what you want if there are
multiple staves, since it's the union of things in all staves .  Also,
grobs that align on parents should usually have something more
specific as X-parent (eg. a notehead).


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



reply via email to

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