[Top][All Lists]

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

Re: chaotic stems when querying direction property

From: Ricardo Wurmus
Subject: Re: chaotic stems when querying direction property
Date: Sun, 14 Aug 2011 21:58:39 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

> > So ly:glob-property has side effects because of the stem callback?
> > How can I make sure to get the final stem direction after all
> > dependent properties were calculated?
> >
> > I want to replace a note head with a triangle, but there is a gap
> > between note head a stem when the stem points upward. To correct this, I
> > modify the stem-attachment property of the note head. This correction
> > offset must be different when the stem points down.
> I'd override the default callback for stem-attachment.  It should be
> safe to get the stem direction at this point since it's already been
> calculated and cached.
> Cheers,
> Neil

Thanks, Neil. That helped.

I will read a little more about callbacks. A number of ugly parts of my
code could be solved a lot more elegantly through callbacks.


reply via email to

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