diff options
Diffstat (limited to 'manuals/chickadee/Sprites.html')
-rw-r--r-- | manuals/chickadee/Sprites.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/manuals/chickadee/Sprites.html b/manuals/chickadee/Sprites.html index 2575e87..6069f8f 100644 --- a/manuals/chickadee/Sprites.html +++ b/manuals/chickadee/Sprites.html @@ -98,15 +98,16 @@ interface for working with sprites. Bitmaps are stored in textures <code>draw-sprite</code> procedure. </p> <dl> -<dt id="index-draw_002dsprite">Procedure: <strong>draw-sprite</strong> <em>texture position [#:tint white] [#:origin] [#:scale] [#:rotation] [#:blend-mode] [#:rect]</em></dt> +<dt id="index-draw_002dsprite">Procedure: <strong>draw-sprite</strong> <em>texture position [#:blend-mode] [#:origin] [#:rect] [#:rotation] [#:scale] [#:shear] [#:tint white]</em></dt> <dd> <p>Draw <var>texture</var> at <var>position</var>. </p> <p>Optionally, other transformations may be applied to the sprite. <var>rotation</var> specifies the angle to rotate the sprite, in radians. -<var>scale</var> specifies the scaling factor as a 2D vector. All -transformations are applied relative to <var>origin</var>, a 2D vector, -which defaults to the lower-left corner. +<var>scale</var> specifies the scaling factor as a 2D vector. <var>shear</var> +specifies the shearing factor as a 2D vector. All transformations are +applied relative to <var>origin</var>, a 2D vector, which defaults to the +lower-left corner. </p> <p><var>tint</var> specifies the color to multiply against all the sprite’s pixels. By default white is used, which does no tinting at all. @@ -159,7 +160,7 @@ are full to accomodate as many sprites as necessary. </p></dd></dl> <dl> -<dt id="index-sprite_002dbatch_002dadd_0021">Procedure: <strong>sprite-batch-add!</strong> <em>batch position [#:origin] [#:scale] [:rotation] [#:tint <code>white</code>] [#:texture-region]</em></dt> +<dt id="index-sprite_002dbatch_002dadd_0021">Procedure: <strong>sprite-batch-add!</strong> <em>batch position [#:origin] [:rotation] [#:scale] [#:shear] [#:texture-region] [#:tint <code>white</code>]</em></dt> <dd> <p>Add sprite located at <var>position</var> to <var>batch</var>. </p> |