summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-06-04 15:40:02 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-06-04 15:40:02 +0200
commit6aad6bd0bdb1458a785ee426d036a7e98fe63775 (patch)
tree4101a907d3bb244538f43144cf03033f59be450b
parent2256f5281c71a650b1039475bf9ae652b14d6519 (diff)
pict: triangle: Add docstring.
* pict.scm (triangle): Add docstring.
-rw-r--r--pict.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/pict.scm b/pict.scm
index de66fb3..2eb7db6 100644
--- a/pict.scm
+++ b/pict.scm
@@ -632,6 +632,9 @@ accepted to override the line color and line thickness."
#:key
(border-color "black")
(border-width 1))
+ "Return an isosceles triangle with width W and height H. The keys
+BORDER-COLOR (a string) and BORDER-WIDTH (a number) are accepted to
+override the line color and line thickness."
(polygon `((0 . ,h)
(,w . ,h)
(,(/ w 2) . 0))