NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_PolyOut.nxc

This is an example of how to use the PolyOut function.

LocationType myPoints[] = {16,16, 8,40, 32,52, 20,36, 52,36, 56,52, 64,32, 44,20, 24,20};
task main()
{
PolyOut(myPoints, false);
for(int i=0;i<10;i++) {
}
PolyOut(myPoints, true|DRAW_OPT_FILL_SHAPE);
for (int i=0;i<100;i++) {
}
}