Re: Calculations for spanner before its print function is called

2010-06-02 Thread Mike Solomon
Good deal! I used a callback - patch to be sent in the not-too-distant future. ~Mike On 6/2/10 4:26 PM, "Han-Wen Nienhuys" wrote: > On Wed, Jun 2, 2010 at 8:28 AM, Mike Solomon wrote: >>    I am toying around with a new spanner, and before it prints, I need to >> do some calculations on all o

Re: Calculations for spanner before its print function is called

2010-06-02 Thread Han-Wen Nienhuys
On Wed, Jun 2, 2010 at 8:28 AM, Mike Solomon wrote: >    I am toying around with a new spanner, and before it prints, I need to > do some calculations on all of its broken_intos_.  I can easily do these > calculations in the print function by accessing the broken_into_ of > spanner->original (), b

Re: Calculations for spanner before its print function is called

2010-06-02 Thread Mike Solomon
I tried setting a flag like that, but the problem is that the stencils are drawn in parallel and not in series, so by the time I've set this flag the other stencils are done doing their thing :-( ~Mike On 6/2/10 1:32 PM, "Carl Sorensen" wrote: > On 6/2/10 5:28 AM, "Mike Solomon" wrote: > >>

Re: Calculations for spanner before its print function is called

2010-06-02 Thread Carl Sorensen
On 6/2/10 5:28 AM, "Mike Solomon" wrote: > Hey lilypond developers, > I am toying around with a new spanner, and before it prints, I need to > do some calculations on all of its broken_intos_. I can easily do these > calculations in the print function by accessing the broken_into_ of > spann

Calculations for spanner before its print function is called

2010-06-02 Thread Mike Solomon
Hey lilypond developers, I am toying around with a new spanner, and before it prints, I need to do some calculations on all of its broken_intos_. I can easily do these calculations in the print function by accessing the broken_into_ of spanner->original (), but then this calculation is done fo