Showing changes from revision #2 to #3:
Added | Removed | Changed
Entry | |||
---|---|---|---|
R0 | 2 + bits (See below) | ||
Bits | |||
Vertically |
|||
29 | Co-ords are relative to the window being redrawn | ||
30 | Vertical adjust, so baseline of characters is at same Y co-ordinate as system font | ||
31 | Right justify (as per R4, R5) | ||
R1 | Pointer to |
||
R2 | -1 | ||
R3 | -1 | ||
R4 | X co-ordinate | ||
R5 | Y co-ordinate |
Exit | |
---|---|
R0 | String width in OS units |
R1 | Preserved |
R2 | Preserved |
With a reason code of 2, this call plots text on screen using the current desktop font.
Bits 30 30-28 & are 31 is used to specify the justification of the text.
This call should be used from within a redraw loop.
Because an outline font may be used, the background colour of the font must be specified, so that the anti-aliasing colours can be set-up.
BUG: The PRMs incorrectly describe the string as “ctrl-terminated”. This is not true when using System Font, so the string must always be null-terminated.