NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
char FontNumOut ( int  x,
int  y,
string  filename,
variant  value,
unsigned long  options = DRAW_OPT_NORMAL 
)
inline

Draw a number with font.

Draw a numeric value on the screen at the specified x and y location using a custom RIC font. Optionally specify drawing options. If this argument is not specified it defaults to DRAW_OPT_NORMAL. Valid display option constants are listed in the Drawing option constants group. See the Font drawing option constants for options specific to the font drawing functions.

See Also
FontTextOut, SysDrawFont, DrawFontType
Warning
This function requires the enhanced NBC/NXC firmware version 1.28+.
Parameters
xThe x value for the start of the number output.
yThe y value for the start of the number output.
filenameThe filename of the RIC font.
valueThe value to output to the LCD screen. Any numeric type is supported.
optionsThe optional drawing options.
Returns
The result of the drawing operation.
Examples:
ex_dispfnout.nxc.