h6. [[OS SWI Calls]] h6(. » [[OS_SpriteOp]] h6((. » OS_SpriteOp 53 - Put Sprite Grey Scaled h2. OS_SpriteOp 53 - Put Sprite Grey Scaled h5. (SWI &2E) |_<^{width:4em}. Entry | | |<^. R0 |<^. 53 (Reason code) + [[OS_SpriteOp|Area value]]| |<^. R1 |<^. [[Format Of Sprite Area|Sprite area]] (as defined by area value in R0) | |<^. R2 |<^. Sprite name/[[Format Of Sprite|pointer]] (as defined by area value in R0) | |<^. R3 |<^. X coordinate | |<^. R4 |<^. Y coordinate | |<^. R5 |<^. 0 | |<^. R6 |<^. Pointer to [[OS_SpriteOp Scale Factors|scaling factors]], or 0 for 1:1 scaling | |<^. R7 |<^. Pointer to pixel translation table / [[Colour Mapping Descriptor]], or 0 for no translation | |_<^{width:4em}. Exit | | |\2<^. All registers preserved| h4. Use This call anti-aliases a sprite as it scales it. h4. Notes This reason code is not available on SpriteExtend version 0.99 and later. The sprite must have been defined in a 16-colour mode whose pipxels refelect a linear grey scale. This is considerably slower than [[OS_SpriteOp 52]] Coordinates are in OS units, and specify the bottom-left corner of the sprite. 1:1 scaling maps directly from source pixels to destination pixels; the DPI and eigen values of the source and destination are ignored. h4. See also * [[Format Of Sprite]] * [[Format Of Sprite Area]] * [[OS_SpriteOp]] * [[OS_SpriteOp Scaled/Transformed Plot Flags]] * [[OS_SpriteOp Scale Factors]]