diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-06-04 15:39:40 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-06-04 15:39:40 +0200 |
commit | 61d9638d80828890fb950692f6ce78f22e7e370c (patch) | |
tree | abf9c6ba975b4f7e65fd4ce9854c7d7d1fb2771a | |
parent | b206bb2a645694d576bac753a401f9757b609175 (diff) |
pict: polyline: Add docstring.
* pict.scm (polyline): Add docstring.
-rw-r--r-- | pict.scm | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -570,10 +570,12 @@ accepted to override the line color and line thickness." #:color color #:stroke-width stroke-width))) (define* (polyline points - #:key - (color "black") - (stroke-width 1)) - "Draw a polyline from POINTS, a list of x and y coordinate pairs." + #:key + (color "black") + (stroke-width 1)) + "Draw a polyline from POINTS, a list of x and y coordinate pairs. +The keys COLOR (a string) and STROKE-WIDTH (a number) are accepted to +override the line color and line thickness." (let* ((xs (map car points)) (ys (map cdr points))) (make-pict |