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

ColourTrans_SetFontColours

Programmer's Reference Manuals
» Part 8 - Non-kernel input/output
» ColourTrans
» SWI Calls
» ColourTrans_SetFontColours

ColourTrans_ SetFontColours

(SWI &4074F)
Entry
R0 Font handle, or 0 for current font
R1 Background palette entry
R2 Foreground palette entry
R3 Maximum foreground colour offset (0-14)
Exit
R0 Preserved
R1 Background logical colour (preserved if in 256 colour mode)
R2 Foreground logical colour
R3 Maximum sensible colour offset (up to R3 on entry)

Use

This purpose of this call is to calculate the best range of anti-aliasing colours and assign these as the colours to use by the Font Manager.

Notes

Given a pair on palette entries, it calculates the best available range of anti-aliasing colours in the current palette.

See also

  • ColourTrans_ReturnFontColours
  • ColourTrans_SetColour
  • ColourTrans_SetGCOL
  • ColourTrans_SetOppGCOL
  • ColourTrans_SetOppTextColour
  • ColourTrans_SetTextColour
Revised on September 27, 2009 15:03:46 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: ColourTrans SWI Calls, ColourTrans Miscellaneous, ColourTrans_ReturnFontColours, ColourTrans_SetColour, ColourTrans_SetGCOL, ColourTrans_SetOppGCOL, ColourTrans_SetOppTextColour, ColourTrans_SetTextColour, Font_Paint Special Characters, Font_SetColourTable, Font_SetPalette, Colour Vector SWI Numbers

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