Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | &0xx if sprite in system area |
&1xx if sprite in user area and R2 = name | |
&2xx if sprite in user area and R2 = pointer | |
R1 | Pointer to spritearea (0 for system, 1 for Wimp) |
R2 | Pointer to sprite name, or sprite itself |
R6 | Block to receive scale factors |
R7 | Block to receive colour translation table (2, 4 or 16 bytes) |
Exit | |
---|---|
R0 | Corrupt |
Blocks at | |
R6 | Contains Scale Factors |
R7 | Contains the Colour Translation Table |
The purpose of this call is to inform the application how the Wimp would plot the icon independent of the current screen mode.
Sprites that were created with less than four bits per pixel, have their pixels mapped onto the Wimp’s greyscale colours.
Applications wishing to plot a sprite using the best approximation to its actual colours should use ColourTrans.