On 4/13/09 11:16 PM, "Mark Polesky" <[email protected]> wrote:

> 
> 
> Here's an idea:
> 
> Figure out the path that runs along the outside of
> a bezier sandwich. Find the max-thickness of that
> path. Set that path as the clipping path. Draw a
> dashed-slur (with thickness set to max-thickness)
> that is clipped to within the sandwich's outside
> path. I wonder if that might look good enough. The
> corners of the dashes would not be perfectly smooth,
> but the tapering would be right. The tricky part is
> figuring out the outside path and the max-thickness.
> But it ought to be do-able.
> 


Actually, the correct way to do it is to draw the dashed slur as a series of
bezier sandwiches (and that's why the bezier sandwich code has the lineto
command in it).  We don't need to have the same points at the end of the top
and bottom beziers; they can differ.

The trick is to take the top and bottom beziers and subdivide them.

I'm currently working on a patch for this.

Carl



_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to