From e79fa7da00bb13d34abdaf7927b6bbe2a11a2ad2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 14 Jun 2019 23:35:33 +0200 Subject: pict: rectangle: Add docstring. * pict.scm (rectangle): Add docstring. --- pict.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pict.scm b/pict.scm index a70a558..a5f0b0b 100644 --- a/pict.scm +++ b/pict.scm @@ -724,6 +724,10 @@ override the line color and line thickness." (border-width 1) (rx 0) (ry 0)) + "Return a rectangle 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, respectively. The keys RX +and RY can be provided to round off the corners." (make-pict `(svg (@ (width ,w) (height ,h) -- cgit v1.2.3