[Top][All Lists]

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

Re: skyline updates

From: Erik Sandberg
Subject: Re: skyline updates
Date: Fri, 15 Dec 2006 18:45:18 +0100
User-agent: KMail/1.9.5

On Tuesday 12 December 2006 18:49, Joe Neeman wrote:
> On 12/12/06, Han-Wen Nienhuys <address@hidden> wrote:
> > Joe Neeman escreveu:
> > > This was more of an internal-code comment than something that you can
> > > directly do in a .ly file. One application, though, is that you can
> > > decide that TextScripts should have a horizontal-padding of 2 while
> > > VoltaBrackets should have a horizontal-padding of 0. Previously, the
> > > same max-slope applied to every object in the skyline. This
> > > functionality is not yet exposed to the user but it will be soon
> > > (hopefully today). The property to look for will be called
> > > outside-staff-horizontal-padding.
> >
> > just a stupid remark, but why use the same distance for X and Y ? In the
> > case of the volta bracket, the horizontal padding should be 0, but the
> > vertical padding should probably be > 0.
> The y-padding is outside-staff-padding. The x-padding is
> outside-staff-horizontal-padding

BTW: are there plans for a more high-level interface for skyline settings? 
IWBN with some more forward-compatible interface, which can work pretty well 
even if skyline algorithms are changed in the future. E.g., one could specify 
an extra X and Y extent of an object in the skyline; the semantics would be 
that the skyline for that object is padded by approximately X horizontally 
and Y vertically before the spacing takes place. In the best of worlds this 
would be translated to creating something like an ellipse around the object, 
but with the current algorithms, it would be translated into property 
settings that give some octagonal or hexagonal approximation of that ellipse.


reply via email to

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