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_Paint Flags

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

Flags

Bit Meaning when set
0 1= justify specified by graphics cursor, 0= not justified
1 1= rubout box specified by graphics cursor, 0=do not rub out
4 1= x and y are in OS units, 0= millipoints
5 Justify & rubout specified by block in R5 (bit 4 must be clear), 0= use flags in bits 0 & 1
6 Font Transformation Matrix specified by R6 (bit 4 must be clear)
7 Given string length
8 Given font
9 Kern
10 Right to left
11 Font Background Blending
12 R1 points to 16-bit string forms (bit 13 must be clear)1
13 R1 points to 32-bit string forms (bit 12 must be clear)1
17 Return caret position
18 Return bounding box
19 Return Matrix
20 Return split count
All other bits are reserved. Must be zero

1 Applies to FontManager 3.41 onwards

Notes

To specify justify using the graphics cursor, first move to right side.

To specify a rubout box using the graphics cursor, first move to lower left and then to upper right of box.

If both, then do justify move last.

See also

  • Ctrl-Characters
  • Font_Paint
  • Font_Paint Block
  • Font_Paint String Forms
  • Font Background Blending
  • Font Transformation Matrix
Created on October 11, 2009 20:54:07 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Font_Caret, Font_CharBBox, Font_Paint, Font_Paint Block, Font Background Blending, Font_Paint String Forms, Font_Paint Special Characters, Font_Paint Special Characters Parameters

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