Entry | |||
---|---|---|---|
R0 | 2 + bits (See below) | ||
Bits | |||
30 | Vertically justify, so baseline of characters is at same height as when using system font | ||
31 | Right justify (as per R4, R5) | ||
R1 | Pointer to string | ||
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 & 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.