diff options
author | David Thompson <dthompson2@worcester.edu> | 2020-12-05 15:26:38 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2020-12-05 15:26:38 -0500 |
commit | c9a2c09fa5297463743faa8ecac59d5f0ddc35a9 (patch) | |
tree | be0378b145fa0cb3c2459216b63098c9560d86cf /doc/api.texi | |
parent | a49a27bedec4cdfc4bf52262006702171469a25c (diff) |
render: s/render-draw/draw/
Diffstat (limited to 'doc/api.texi')
-rw-r--r-- | doc/api.texi | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api.texi b/doc/api.texi index 488d8f3..f1fa9cf 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -1148,46 +1148,46 @@ Set blend mode of @var{renderer} to @var{blend-mode}. @xref{Blend Modes} for more information. @end deffn -@deffn {Procedure} render-draw-line renderer x1 y1 x2 y2 +@deffn {Procedure} draw-line renderer x1 y1 x2 y2 Draw a line from (@var{x1}, @var{y1}) to (@var{x2}, @var{y2}) on the current rendering target of @var{renderer}. @end deffn -@deffn {Procedure} render-draw-lines renderer points +@deffn {Procedure} draw-lines renderer points Draw a series of connected lines from @var{points} on the current rendering target of @var{renderer}. Optionally, for best performance, @var{points} may instead be a bytevector packed with signed 32 bit integers, 2 per point (x and y). @end deffn -@deffn {Procedure} render-draw-point renderer x y +@deffn {Procedure} draw-point renderer x y Draw a point at (@var{x}, @var{y}) on the current rendering target of @var{renderer}. @end deffn -@deffn {Procedure} render-draw-points renderer points +@deffn {Procedure} draw-points renderer points Draw a multiple points from @var{points} on the current rendering target of @var{renderer}. Optionally, for best performance, @var{points} may instead be a bytevector packed with signed 32 bit integers, 2 per point (x and y). @end deffn -@deffn {Procedure} render-draw-rect renderer rectangle +@deffn {Procedure} draw-rect renderer rectangle Draw the outline of @var{rectangle} onto renderer. @end deffn -@deffn {Procedure} render-draw-rects renderer rects +@deffn {Procedure} draw-rects renderer rects Draw the outline of all rects in the list @var{rects} onto @var{renderer}. Optionally, for best performance, @var{rects} may instead be a bytevector packed with signed 32 bit integers, 4 per rect (x, y, width, height). @end deffn -@deffn {Procedure} render-fill-rect renderer rectangle +@deffn {Procedure} fill-rect renderer rectangle Fill @var{rectangle} onto @var{renderer}. @end deffn -@deffn {Procedure} render-fill-rects renderer rects +@deffn {Procedure} fill-rects renderer rects Fill the list @var{rects} onto @var{renderer}. Optionally, for best performance, @var{rects} may instead be a bytevector packed with signed 32 bit integers, 4 per rect (x, y, width, height). |