summaryrefslogtreecommitdiff
path: root/doc/api.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api.texi')
-rw-r--r--doc/api.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index 87ff7cd..9a36bc4 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -2106,6 +2106,14 @@ Return a path that draws a straight line from @var{start} to @var{end}.
Return a path that draws a series of lines connecting @var{points}.
@end deffn
+@deffn {Procedure} bezier-path p1 c1 c2 p2 . points
+Return a path that draws a series of bezier points starting at
+@var{p1}, moving to @var{p2} using control points @var{c1} and
+@var{c2}, and proceeding to draw additional bezier curves as defined
+by @var{points}. Each additional curve requires 3 additional
+arguments: two control points and and an ending point.
+@end deffn
+
@deffn {Procedure} rectangle bottom-left width height
Return a path that draws a rectangle whose bottom-left corner is at
@var{bottom-left} and whose size is defined by @var{width} and