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

Draw text with font.

Draw a text 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
FontNumOut, SysDrawFont, DrawFontType
Warning
This function requires the enhanced NBC/NXC firmware version 1.28+.
Parameters
xThe x value for the start of the text output.
yThe y value for the start of the text output.
filenameThe filename of the RIC font.
strThe text to output to the LCD screen.
optionsThe optional drawing options.
Returns
The result of the drawing operation.
Examples:
ex_dispftout.nxc.