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 = 0
R1 = pointer to scaling and position table:
R1+00 = amount to multiply X by * 65536
R1+04 = 0
R1+08 = 0
R1+12 = amount to multiply Y by * 65536
R1+16 = X origin (OS units)
R1+20 = Y origin (OS units)
R2 = pointer to first object (ie. beginning of Draw file+40)
R3 = pointer to end of last object (ie. end of file)
R4 = pointer to graphics clip box, or 0 for no clipping:
R4+00 = XMin
R4+04 = YMin
R4+08 = XMax
R4+12 = YMax
Exit:
F0-F2 corrupted if scaling is not 1:1

This call displays a draw file. Objects will be checked one by one to see if
they are in the clipping area, and redrawn if they are. Currently the
following objects are supported:
0 - font table
1 - text
2 - path
5 - sprite
6 - group
7 - tag
This is all the objects specified in the RISC OS 2 PRMs, except for text AREA
objects, which are hardly ever used and are very very complicated. Magnifying
a draw file by more than about 8 times is probably not a good idea because
rounding errors in the Draw module will start to become significant. Note
that this call requires the ColourTrans module. It also requires the
FPEmulator module, if and only if the scaling is not 1:1. This call replaces
the old SWI WimpExt_RedrawDraw, which should now not be used. (This call is
much better anyway.)

[sh-index] Back to list of manuals