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

Font_Paint

Programmer's Reference Manuals
» Part 8 - Non-kernel input/output
» The Font Manager
» SWI Calls
» Font_Paint

Font_Paint

(SWI &40086)
Entry
R0 Font handle (if applicable)
R1 Pointer to string (ctrl-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 purpose of this call is to paint 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 transformed x-axis is parallel (not anti-parallel) to output x-axis. The definition of Anti-parallel is; being parallel, but in the opposite direction to the original.

See also

  • Ctrl-Characters
  • Font_Paint Block
  • Font_Paint Flags
  • Font Transformation Matrix
Created on October 11, 2009 20:18:35 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: ColourTrans_ReturnFontColours, The Font Manager SWI Calls, Font Transformation Matrix, Font_FutureFont, Font_CurrentFont, Font_CurrentRGB, Font_Paint Block, Font_Paint Flags, Font Background Blending, Font_Paint String Forms, Font_Paint Special Characters, Font_Paint Special Characters Parameters, Font_ScanString, Font_ScanString Flags, Font_SetColourTable, Font_SetFont

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 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