[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using path expressions to override stencils
From: |
Paul Booker |
Subject: |
Re: Using path expressions to override stencils |
Date: |
Wed, 17 Feb 2016 13:32:06 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
>
> customClefStencilTwo =
> #(make-path-stencil
> '(rmoveto 0 0
> rcurveto 0 0.75 1 0.75 1 0
> rcurveto 0 -0.75 -1 -0.75 -1 0
> rcurveto -1 0 -1 1.5 -0.5 1.5
> rmoveto 0.5 -1.5
> rcurveto -1 0 -1 -1.5 -0.5 -1.5
> rmoveto 0.5 1.5
> rmoveto 1 0
> rcurveto 2.5 0 2.5 4 4 4
> rmoveto -4 -4
> rcurveto 2.5 0 2.5 -4 4 -4)
> 0.2 ;; line thickness
> 1 ;; x-axis scaling factor
> 1 ;; y-axis scaling factor
> #f ;; filled path or not?
> )
>
> \markup \stencil #customClefStencilOne
> \markup " "
> \markup " "
> \markup \stencil #customClefStencilTwo
>
----------------------------
Hi Paul,
I think this is connected to a previous post of yours back in 2013, is it
not? I'm glad it has been absorbed into the mix, because I like the idea of
being able to scale the stencil directly. Thank you for this; I'm now spoilt
for choice!
Yes, it should be in lsr.
Cheers
Paul