RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

Font_Paint

FontManager
» SWI Calls
» Font_Paint

Font_Paint

(SWI &40086)
Entry
R0 Font handle (if applicable)
R1 Pointer to string (may include control characters)
R2 Flags
R3 X
R4 Y
R5 Pointer to block (if applicable)
R6 Pointer to transformation matrix (if applicable)
R7 Length (if applicable)
Exit
- All registers preserved

Use

This call paints a string to the screen using the currently selected font, or a specific font (as per flags).

Notes

Any VDU origin previously specified is ignored and absolute co-ordinates are assumed.

Underline and rubout do not work unless the transformed x-axis is parallel (not anti-parallel) to the output x-axis. (Anti-parallel means being parallel, but in the opposite direction to the original.)

See also

  • Font Control Characters
  • Font_Paint Block
  • Font_Paint Flags
  • Font Transformation Matrix
Revised on December 9, 2013 12:06:45 by Chris (121)? (62.30.208.154)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: ColourTrans_ReturnFontColours, FontManager SWI Calls, Font Background Blending, Font Transformation Matrix, Font String Forms, Font_Paint Special Characters, Font_CurrentRGB, Font_FutureFont, Font_Paint Block, Font_ScanString, Font_SetColourTable, Font_SetFont, Font_Paint Flags, Font_ScanString Flags, Font_CurrentFont, Font_Paint Special Characters Parameters, UCS Font Manager

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys