awpix (<num1>,<num2>{,<font>})
numeric
The extents (in pixels) of text when displayed in an alpha window, given the text width (in columns) and height (in rows). Two values are returned: the width and height. The font to be used can be specified.
<num1>
Text width in columns.
<num2>
Text height in rows.
<font>
The font to be used to calculate the size. This should be a fixed font.
If omitted, a default system font is used.
Returns the size occupied by an 80 row by 24 column alpha window using the default font.
numeric size[2] = awpix(80,24)
Returns the size occupied by an 80 row by 24 column alpha window using the font small_xfont.
numeric size[2] = awpix(80,24,small_xfont)
Commands: |
|
Functions: |
filepix (numeric) |
Structures: |