lilypond-devel
[Top][All Lists]
Advanced

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

Re: Grob::vertical_less and DOWN/UP


From: Keith OHara
Subject: Re: Grob::vertical_less and DOWN/UP
Date: Thu, 6 Oct 2011 02:10:49 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

mike <at> apollinemike.com <mike <at> apollinemike.com> writes:

> Currently, I've written the function Grob::vertical_less such that
> it returns true for a grob that is higher than another grob.  

Then just call it vertical_higher() or just higher().  
Then when you pass it to a sort function as the comparison parameter, 
it self-documents the answer to "which way are we sorting?" 





reply via email to

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