David Feuer wrote:
Use the postscript "arct" command.  Drawing a filled polygon becomes

x0 x1 add 2 div y0 y1 add 2 div moveto
x1 y1 x2 y2 r arct
x2 y2 x3 y3 r arct
x3 y3 x4 y4 r arct
...
x(n-1) y(n-1) x0 y0 r arct
x0 y0 x1 y1 r arct
closepath
fill

where n is the number of points and r is the radius of the arc.

arct is a language level 2 feature, but it shouldn't be too hard to
emulate it in level 1 if need be (using arc).

we don't do level 1 anyway.  I think that glyphshow is L2.


--

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



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

Reply via email to