summaryrefslogtreecommitdiff
path: root/doc/api.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api.texi')
-rw-r--r--doc/api.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index 3ea911b..5d7623b 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -1612,6 +1612,11 @@ Return the layers of @var{tile-map}.
Return the custom properties of @var{tile-map}.
@end deffn
+@deffn {Procedure} point->tile tile-map x y
+Translate the pixel coordinates (@var{x}, @var{y}) into tile
+coordinates.
+@end deffn
+
@deffn {Procedure} draw-tile-map tile-map [#:layers] [#:region] @
[#:origin] [#:position] [#:scale] [#:rotation]