AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 = left     X     (inclusive)
     R1 = top     Y     (inclusive)
     R2 = right     X     (exclusive)
     R3 = bottom     Y     (exclusive)
     R4 = colour (filled word - see ColourTrans_ReturnColourNumber)

<=     R0 - R12 corrupted

This SWI performs fast plotting of rectangles.  It is used internally as a
drop in replacement for the operating system's routines (if r_flags bit 4
is set).

The routine doesn't clip to the graphics window.  It would be inefficient for
it to do so - typically the graphics window co-ordinates only need to be read
once for a number of rectangles.

Coordinates are in pixels, (0,0) at top left.

It is required that R2 > R0, and R3 > R1.

All co-ordinates must be positive and within display bounds.

[sh-index] Back to list of manuals