[Top][All Lists]
[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: |
Janek Warchoł |
Subject: |
Re: why don't align to x-extent of a Paper_column? |
Date: |
Thu, 5 Jul 2012 16:18:20 +0200 |
On Thu, Jul 5, 2012 at 3:07 PM, Han-Wen Nienhuys <address@hidden> wrote:
> 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).
looks like i got it right, then. Thank you!
cheers,
Janek