lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] ledger lines


From: Han-Wen Nienhuys
Subject: Re: [PATCH] ledger lines
Date: Thu, 28 Mar 2002 16:13:48 +0100

address@hidden writes:


>Ok, I will have a look at it, but it may take a little while, since I am
>not a PostScript guru (and currently struggling with lily's
>breaking-algorithm, note-spacing, etc.).

it's something like

     blot setlinewidth

     rlineto  ... rlineto ...
     stroke
     fill

>However, unlike blurring or pixelizing,
>blotting utilizes the full resolution; it rather reduces the bandwith of
>shapes (has anyone a better idea how to explain this?).

well, how about: the sharp edges are actually some sort of
high-frequency effects. We don't want them, so we sort of try to
filter them.

> This is actually an argument on my side: You can simulate the effect that
> you want with my rounded box by reducing the dimensions by -blot/2.  This
> is in so far an advantage, as the user of rounded box is responsible for
> proper handling of the dimensions rather than the drawing routine
> internally doing some magic max/min calculations which, I think, are
> necessary if the box width or length is below blotdiameter.  Or can you
> give me a clear definition of what drawbox does/should do if the width or

Yes. It should do

     assert(false);

or somesuch.

There are not going to be parts inside lily that structurually
misrepresent the precise extents of the black parts.


-- 

Han-Wen Nienhuys   |   address@hidden    | http://www.cs.uu.nl/~hanwen/




reply via email to

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