[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make-connected-path-stencil with variables and connected paths
From: |
Paul Morris |
Subject: |
make-connected-path-stencil with variables and connected paths |
Date: |
Sun, 20 Oct 2013 01:39:55 -0400 |
Hi all, I'm trying to use make-connected-path-stencil, but it's not working as
expected, in two ways. Here's a tiny example:
%%%%%%%%%%%%
\version "2.17.28"
myStencil =
#(let* ((A 0) (B 1))
(make-connected-path-stencil
'((A B) (B B) (A A)) ;; <-- variables can't be used in pointlist?
0.1
1
1
#f ;; <-- error when connect is set to #t
#t))
%%%%%%%%%%%%
1. Using variables in the pointlist gives this GUILE error:
Wrong type: A
2. Setting connect to #t gives this GUILE error (this seems like a bug):
Wrong type argument in position 1 (expecting empty list): closepath
Any suggestions? Here's the documentation from where it is defined in
stencil.scm, line 432:
(define-public (make-connected-path-stencil pointlist thickness
x-scale y-scale connect fill)
"Make a connected path described by the list @var{pointlist}, with
thickness @var{thickness}, and scaled by @var{x-scale} in the X direction
and @var{y-scale} in the Y direction. @var{connect} and @var{fill} are
boolean arguments that specify if the path should be connected or filled,
respectively."
Thanks,
-Paul
- make-connected-path-stencil with variables and connected paths,
Paul Morris <=
- Re: make-connected-path-stencil with variables and connected paths, Thomas Morley, 2013/10/20
- Re: make-connected-path-stencil with variables and connected paths, David Kastrup, 2013/10/20
- Re: make-connected-path-stencil with variables and connected paths, Paul Morris, 2013/10/20
- Re: make-connected-path-stencil with variables and connected paths, Thomas Morley, 2013/10/20
- Re: make-connected-path-stencil with variables and connected paths, Paul Morris, 2013/10/23
- Re: make-connected-path-stencil with variables and connected paths, Thomas Morley, 2013/10/24
- Re: make-connected-path-stencil with variables and connected paths, Paul Morris, 2013/10/24
- Re: make-connected-path-stencil with variables and connected paths, Thomas Morley, 2013/10/29
Re: make-connected-path-stencil with variables and connected paths, David Kastrup, 2013/10/20