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_SetScaleFactor

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

Font_SetScaleFactor

(SWI &40090)
Entry
R1 X scale factor
R2 Y scale factor
Exit
R1 Preserved
R2 Preserved

Use

The purpose of this call is to set the values used when converting between OS co-ordinates and millipoints..

Notes

Applications that run within the windowing environment (the desktop) should not use this call. This is because other applications may rely on current settings. If the call is used, then the current values should be restored afterwards.

The default value is 400 millipoints per OS unit.

To read values, Font_ReadScaleFactor should be used.

See also

  • Font_ConverttoOS
  • Font_Converttopoints
  • Font_ReadScaleFactor
Created on October 24, 2009 22:16:00 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: The Font Manager SWI Calls, Font_ConverttoOS, Font_Converttopoints, Font_ReadScaleFactor

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