diff options
author | David Thompson <dthompson2@worcester.edu> | 2021-10-02 07:59:02 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2021-10-02 07:59:02 -0400 |
commit | 4429ae6b9a00914a912599160d671f7540368975 (patch) | |
tree | 49eb75fbeb01e0a0c191f5248725fc563aad2b0a /doc/api.texi | |
parent | 0559473fbfc28f5b05a9a23402dad28865c46231 (diff) |
graphics: path: Add bezier-path procedure.
Diffstat (limited to 'doc/api.texi')
-rw-r--r-- | doc/api.texi | 8 |
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 |