On 2013/04/14 20:38:12, janek wrote:
David,
i'm sorry, but i don't understand what the code does. Obviously, it
would help
if i knew Postscript ;) but unfortunately i don't have time to learn
it now. The most important resource is PLRM.pdf (available on Adobe's website, though the location changes).
Since i suppose that quite a few devs may be in a similar situation, i
think
that adding some comments would be a good idea, even if they were
completely
obvious for people knowing PostScript.
There is a reason this file is commented sparingly: it appears in every PostScript file produced by LilyPond. PostScript is a rather idiosyncratic language, so one can't really replace knowing the language with liberal amounts of commenting.
By the way: do i understand correctly that a rounded rectangle is created as two objects - a "sharp" rectangle and a "rounded" line around it?
There is no such things as a "rounded" line, but the corner join style might be producing circles. At any rate, this kind of rendition is only used when all of width, height, and corner diameter are non-zero. And calling painting operations "objects" is a somewhat strange view. https://codereview.appspot.com/8663044/ _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel