diff options
author | David Thompson <dthompson2@worcester.edu> | 2019-01-08 21:51:16 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2019-01-08 21:51:16 -0500 |
commit | c42b3b404c15491a2032a0e11cef83e39b3470e3 (patch) | |
tree | 42d65ed2567c9f4dfc8811be28bf1f80e1cb66bb /doc | |
parent | 48b81e45c2e043e5481b80695821ad2bbfcb6e62 (diff) |
render: sprite: Allow nine patches to be tinted.
* chickadee/render/sprite.scm (draw-nine-patch*, draw-nine-patch): Add
tint keyword argument.
* doc/api.texi (Sprites): Document new argument.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api.texi b/doc/api.texi index fc1f8dd..6669b5f 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -1411,7 +1411,8 @@ artifacts. @deffn {Procedure} draw-nine-patch @var{texture} @var{rect} @ [#:margin 0] [#:top-margin margin] [#:bottom-margin margin] @ [#:left-margin margin] [#:right-margin margin] @ - [#:origin] [#:scale] [#:rotation] [#:blend-mode alpha] + [#:origin] [#:scale] [#:rotation] [#:blend-mode alpha] @ + [#:tint white] Draw a nine patch sprite. A nine patch sprite renders @var{texture} as a @var{width} x @var{height} rectangle whose stretchable areas are |