NXC
Version 1.2.1 r5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
All
Data Structures
Files
Functions
Variables
Groups
Pages
ex_sysdrawfont.nxc
This is an example of how to use the
SysDrawFont
function along with the
DrawFontType
structure.
#download "PropTiny.ric"
task main()
{
DrawFontType
dfArgs;
dfArgs.
Location
.
X
= 10;
dfArgs.
Location
.
Y
= 59;
dfArgs.
Filename
=
"PropTiny.ric"
;
dfArgs.
Text
=
"Hello"
;
dfArgs.
Options
=
DRAW_OPT_NORMAL
|
DRAW_OPT_FONT_DIR_L2RT
;
SysDrawFont
(dfArgs);
Wait
(
SEC_4
);
}
Generated by
1.8.2