NXC
Version 1.2.1 r5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
All
Data Structures
Files
Functions
Variables
Groups
Pages
ex_sysdrawcircle.nxc
This is an example of how to use the
SysDrawCircle
function along with the
DrawCircleType
structure.
task main()
{
DrawCircleType
dcArgs;
dcArgs.
Center
.
X
= 20;
dcArgs.
Center
.
Y
= 20;
dcArgs.
Size
= 10;
// radius
dcArgs.
Options
= 0x01;
// clear before drawing
SysDrawCircle
(dcArgs);
}
Generated by
1.8.2