Showing changes from revision #2 to #3:
Added | Removed | Changed
Entry | |
---|---|
R0 | 1 |
R1 | Pointer to ctrl-terminated string |
R2 | Number of Characters to scan, or |
0 for whole string |
Exit | |
---|---|
R0 | String width in OS units |
R1 | Preserved |
R2 | Preserved |
With a reason code of 1, this call returns the width of a specified string using the current desktop font.
This is often used prior to plotting a string to an icon, in case the icon needs to be resized.
The value returned is in OS units.
In RO4/6 b31 requests coverage: the maximum of advance width and the bounding box.