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_SetFontColours

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

Font_SetFontColours

(SWI &40092)
Entry
R0 Font handle (0 for current)
R1 Background colour
R2 Foreground colour
R3 Foreground colour offset
Exit
R0 Preserved
R1 Preserved
R2 Preserved
R3 Preserved

Use

The purpose of this call is to set the font colours, and optionally, the font handle.

Notes

The foreground colour offsets passed in R3 are the colours used when anti-aliasing is used. The colours used will be from <foreground> to <foreground> + <offset>.

The offset can be from -14 to 14. If the offset is 0, then no anti-aliasing is used.

See also

  • Font_CurrentFont
  • Font_SetFont
  • Font_SetPalette
Created on October 24, 2009 21:47:06 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: ColourTrans_ReturnFontColours, The Font Manager SWI Calls, Font_Paint Special Characters, Font_ReadColourTable, 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