Tiled sprite plotting

From version 1.73 onward of SpriteExtend a new reason code has been added to OS_SpriteOp (and the variants which use this) to tile a sprite across the graphics window. This operation allows a single system call to be used to render a large number of images. It allows tiled area fills to be accelerated better than it would be for multiple sprite operations.

OS_SpriteOp 65

Tile sprite scaled

On entry
   R0 = 65 + 0, &100 or &200 as for other SpriteOps
   R1 = pointer to sprite area
   R2 = pointer to sprite name, or pointer to sprite dependant on R0
   R3 = x origin (bottom left of sprite)
   R4 = y origin (bottom left of sprite)
   R5 = plot action (as for OS_SpriteOp 52)
   R6 = pointer to scale factors, or 0 for 1:1 scaling
   R7 = pointer to pixel translation table, or 0 if none

This reason code is used to tile the sprite specified across the graphics window. The origin supplied in R3 and R4 will be used as the location of the bottom left corner of the sprites. The origin may be located within the graphics window, or outside it and will be bounded to the window.

This documentation is copyright 3QD Developments Ltd 2013 and may not be reproduced or published in any form without the copyright holders permission. RISC OS is subject to continuous development and improvement as such all information is reproduced by 3QD Developments Ltd in good faith and is believed to be correct at the time of publication E&OE. 3QD Developments Ltd cannot accept any liability for any loss or damage arising from the use of any information provided as part of the RISC OS Documentation.

HTML document version 1.03 3rd November 2015