lilypond-devel
[Top][All Lists]
Advanced

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

Re: Implement new handling for margin and line-width settings.


From: Joe Neeman
Subject: Re: Implement new handling for margin and line-width settings.
Date: Wed, 12 Aug 2009 23:27:35 +1000

On Wed, 2009-08-12 at 09:14 -0400, Dan Eble wrote:
> On 12 Aug 2009, at 00:06, address@hidden wrote:
> 
> > In case there is rounding, it is better to check
> > if (abs (paper_width - line_width - left_margin - right_margin) >  
> > 1e-6)
> 
> Wouldn't it be a good idea to define a name for 1e-6?

Probably. slur.cc and skyline.cc define (locally) the variables EPS for
this purpose. If you could be bothered, it might be worthwhile to make
it a global variable like infinity_f.





reply via email to

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