lilypond-devel
[Top][All Lists]
Advanced

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

Re: here's a better code-comment for draw_bezier_sandwich


From: Carl D. Sorensen
Subject: Re: here's a better code-comment for draw_bezier_sandwich
Date: Mon, 18 May 2009 15:45:38 -0600

Much better, thanks.  I wish I had had that when I first tried to figure out
bezier sandwiches.

Pushed to git.

Carl


On 5/18/09 2:35 PM, "Mark Polesky" <address@hidden> wrote:

> 
> 
> can someone check this and add it to the source?
> Thanks.
> - Mark
> 
> proposed change for:
> music-drawing-routines.ps
> line 126
> _________________________
> 
> % this is for drawing slurs and barre-indicators.
> /draw_bezier_sandwich % x5 y5 x6 y6 x7 y7
>                       % x4 y4
>                       % x1 y1 x2 y2 x3 y3
>                       % x0 y0
>                       % linewidth draw_bezier_sandwich
> {
>   gsave
>   currentpoint translate
>   % round ending and round beginning
>   1 setlinejoin 1 setlinecap
>   setlinewidth
>   moveto
>   curveto
>   lineto
>   curveto
>   closepath
>   stroke_and_fill
>   grestore
> } bind def
> 
> 
>      
> 
> 
> 





reply via email to

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