From 25c5eac5e6ca1035db1eddd7bea9ac78531da57e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Thu, 28 Dec 2023 11:23:49 -0500 Subject: Delete manuals! Good riddance! These are hosted on files.dthompson.us now! --- manuals/sly/Sprites.html | 116 ----------------------------------------------- 1 file changed, 116 deletions(-) delete mode 100644 manuals/sly/Sprites.html (limited to 'manuals/sly/Sprites.html') diff --git a/manuals/sly/Sprites.html b/manuals/sly/Sprites.html deleted file mode 100644 index 0ea943d..0000000 --- a/manuals/sly/Sprites.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - -Sly: Sprites - - - - - - - - - - - - - - - - - - - - -
-

-Next: , Previous: , Up: Rendering   [Contents][Index]

-
-
- -

4.5.2 Sprites

- -
-
Scheme Procedure: make-sprite texture [#:anchor]
-

Create a sprite that displays the image in texture. The size of -the mesh is the size of texture in pixels. anchor defines -the origin of the sprite. By default, the anchor is center, -which puts the origin in the middle of the sprite. See -’anchor-texture’ for more anchoring options. -

- -
-
Scheme Procedure: load-sprite file [#:anchor]
-

Create a sprite from the texture in file whose origin is defined -by anchor. The default anchor is center. -

- -
-
Scheme Syntax: sprite? obj
-

Return #t if obj is a sprite. -

- -
-
Scheme Syntax: sprite-texture sprite
-

Return the texture for sprite. -

- -
-
Scheme Syntax: sprite-mesh mesh
-

Return the mesh for sprite. -

- -
-
Scheme Procedure: render-sprite sprite
-

Create a renderer for sprite. -

- - - - - - -- cgit v1.2.3