From 4429ae6b9a00914a912599160d671f7540368975 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 2 Oct 2021 07:59:02 -0400 Subject: graphics: path: Add bezier-path procedure. --- doc/api.texi | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3