Command (token) | Usage | Effect |
Scaled-On (Zoom In) | Scaled-On(X * 256 + Y, original height * 256 + original witdh IN BYTES, scale factor, sprite) | OR-s a sprite scaled to a fraction of its original dimensions on the graph buffer. Does no clipping, very fast. The scale factor goes from 1 to 256 (or 0 to 255, but keep reading). 1 is 0.4%, 128 is 50%, 256 (aka 0) is 100%. |
Scaled-XOR (Zoom Out) | Scaled-XOR(X * 256 + Y, original height * 256 + original width in bytes, scale factor, sprite) | XOR-s a sprite scaled to a fraction of its original dimensions on the graph buffer. Does no clipping, very fast. |
ScaledClip-On (ZoomFit) | ScaledClip-On(X * 256 + Y, original height * 256 + original width in bytes, scale factor, sprite) | OR-s a sprite scaled to a fraction of its original dimensions on the graph buffer. Does clipping, but still very fast, trust me. :P |
ScaledClip-XOR (ZoomRcl) | ScaledClip-XOR(X * 256 + Y, original height * 256 + original width in bytes, scale factor, sprite) | XOR-s a sprite scaled to a fraction of its original dimensions on the graph buffer. Does clipping, but still very fast, trust me. :P |