NXC
Version 1.2.1 r5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
All
Data Structures
Files
Functions
Variables
Groups
Pages
ex_sysdrawrect.nxc
This is an example of how to use the
SysDrawRect
function along with the
DrawRectType
structure.
task main()
{
DrawRectType
drArgs;
drArgs.
Location
.
X
= 20;
drArgs.
Location
.
Y
= 20;
drArgs.
Size
.
Width
= 20;
drArgs.
Size
.
Height
= 10;
drArgs.
Options
= 0x00;
// do not clear before drawing
SysDrawRect
(drArgs);
}
Generated by
1.8.2