lilypond-user
[Top][All Lists]
Advanced

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

Re: Large square brackets for modern notation


From: Mark Polesky
Subject: Re: Large square brackets for modern notation
Date: Sat, 20 Jun 2009 17:36:49 -0700 (PDT)

Francisco Vila wrote:

> 2009/6/20 Mark Polesky :
> > If the line joints are round here, that's luck, and it won't
> > always work. You need to explicitly state setlinejoin to 1:
> 
> Well, you're right, but it's also true that with independent segments
> no line joints were possible at all.

True, the problem is when the wrong solution appears to work in a
particular situation.

Without testing, I'm pretty sure that

1 setlinecap
0 0 moveto 0 1 lineto stroke
0 1 moveto 1 1 lineto stroke
1 1 moveto 1 0 lineto stroke
1 0 moveto 0 0 lineto stroke

would produce the same result as

1 setlinejoin
0 0 1 1 rectstroke

and

2 setlinecap
0 0 moveto 0 1 lineto stroke
0 1 moveto 1 1 lineto stroke
1 1 moveto 1 0 lineto stroke
1 0 moveto 0 0 lineto stroke

would produce the same result as

0 setlinejoin
0 0 1 1 rectstroke

Easy for beginners to get tricked sometimes.
Hope this helps.
- Mark


      




reply via email to

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