diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-06-04 20:14:43 +0200 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2019-06-04 15:39:17 -0400 |
commit | 84e59980a606f54ea96bb1932ff9a6474a5aaf45 (patch) | |
tree | 3d256328babeb74ef1a2ad5dc67eb09be3f43502 /doc/api.texi | |
parent | 93f50bc0489a2150b4e737eabcce3b568db91774 (diff) |
Document set-render-draw-color procedure.
* doc/api.texi: Document 'set-render-draw-color'.
Diffstat (limited to 'doc/api.texi')
-rw-r--r-- | doc/api.texi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/api.texi b/doc/api.texi index 85d03b3..e222c11 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -1056,12 +1056,18 @@ Display @var{renderer}. Copy @var{texture} to the rendering target of @var{renderer}. @end deffn +@deffn {Procedure} set-render-draw-color renderer r g b a +Set color of @var{renderer} to the 32-bit color defined by the 8-bit +color channels @var{r}, @var{g}, @var{b}, @var{a}. Each color channel +value is in the range [0, 255]. +@end deffn + @deffn {Procedure} render-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 point +@deffn {Procedure} render-draw-lines renderer points Draw a series of connected lines from @var{points} on the current rendering target of @var{renderer}. @end deffn |