![]() |
Retro Rocket OS
|
Draws text directly onto the graphics framebuffer at pixel coordinates. Unlike PRINT, GRAPHPRINT does not use or update the text cursor. Each call is independent.
x and y are integer pixel coordinates measured from the top-left corner of the screen. scale_x and scale_y can be an integer or a real number. If you specify 0 for either dimension, the default scale of 1 will be used. printable is the same syntax accepted by PRINT, a list of values separated by commas or semicolons. * Text is rendered using the current graphics colour (GCOL) for the foreground. The background is always transparent, existing pixels are left unchanged. Each call draws at the specified location only, there is no graphics cursor or scrolling.
You can use negative scale values to flip the text. Note that if you flip the scale values, it will render right to left or bottom to top accordingly.
Draw a label upside down in magenta
Overlay transparent HUD text at 5x scale
Use a redefined glyph