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_SwitchOutputToBuffer

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

Font_ SwitchOutputToBuffer

(SWI &4009E)
Entry
R0 Flags if R1 > 0, else 0
R1 Pointer to word aligned buffer or,
8 to count buffer space needed
0 to switch to normal output
-1 to read state
Exit
R0 Previous Flags
R1 Previous buffer pointer + size needed by Draw file structure

Use

The purpose of this call is to switch the output of The Font Manager to a buffer and then save it in the Draw File format.

Notes

R1 on exit, points at the 0 terminator (it and the new size remaining are not counted in the data generated).

Each letter is converted to a filled path object, as are rubout boxes and the underlining.

Before calling the buffer must contain the following:

Offset Contents
+0 0
+4 Size of remaining buffer (bytes)

See also

  • Font_SwitchOutputToBuffer Flags
Created on October 24, 2009 23:12:35 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: The Font Manager SWI Calls, Font_SwitchOutputToBuffer Flags

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