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_StringBBox

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

Font_StringBBox

(SWI &40097)
Entry
R1 Pointer to string
Exit
R1 Minimum x (inclusive)
R2 Minimum y (inclusive)
R3 Maximum x (exclusive)
R4 Maximum y (exclusive)

Use

The purpose of this call is to return the smallest possible box that covers the whole string.

Notes

This call is deprecated. Font_ScanString should be used instead.

The box is returned in millipoints. This call cannot due to rounding and anti-aliasing be used to find size on screen.

See also

  • Font_ScanString
Created on October 24, 2009 22:24:29 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: The Font Manager SWI Calls, Font_FutureRGB

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