[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Line cap style
From: |
Thomas Morley |
Subject: |
Re: Line cap style |
Date: |
Mon, 28 Jan 2013 12:11:01 +0100 |
2013/1/28 Andrew Bernard <address@hidden>:
> Greetings,
>
> For \path the manual (for 2.17.10) states:
>
> Line-cap styles and line-join styles may be customized by overriding the
> line-cap-style and line-join-style properties, respectively. Available
> line-cap styles are 'butt, 'round, and 'square. Available line-join styles
> are 'miter, 'round, and 'bevel.
>
> How is this override achieved to set the property? There are no examples.
>
> I would like to use 'square instead of the default 'round.
>
> Andrew
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
Example:
\version "2.16.1"
samplePath =
#'((moveto 0 0)
(lineto -1 1)
(lineto 1 1)
(lineto 1 -1)
(curveto -5 -5 -5 5 -1 0)
;(closepath)
)
\markup {
%\override #'(filled . #t)
%\override #'(line-join-style . bevel) % 'miter 'round
\override #'(line-cap-style . butt) %'round 'square
\path #0.25 #samplePath
}
HTH,
Harm
- Line cap style, Andrew Bernard, 2013/01/28
- Re: Line cap style,
Thomas Morley <=