On Tuesday 14 November 2006 08:26, Werner LEMBERG wrote:
> > I don't know if this helps, but I made an algorithm to approximate
> > bezier curves with straight lines (and I have a prototype in
> > Haskell).
>
> Hmm.  Such skylines don't need to be too detailed -- for example, in
> case of a sharp (#) it's sufficient IMHO to handle the top and bottom
> as a straight line.

BTW, I think maximum-slope would solve this automatically; you'd get a skyline 
like this for sharps, which may be even better than using a straight line:
    _  _
   /|\/|\
 _/ |  | \_
/---+--+---\
    |  |
 ---+--+---
    |  |
    |  |

-- 
Erik


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to