PI is only used within STemWin.
 
Symbols
loading...
Files
loading...

PI macro

Syntax

#define PI 3.14

References

LocationText
analog_clock_win.c:61
#define PI 3.14
analog_clock_win.c:167
GUI_RotatePolygon(aPointsDest[0], aPointsDest[0], 4, - 2 * PI * (int)((int)hour + (int)min /60) / 12);
analog_clock_win.c:171
GUI_RotatePolygon(aPointsDest[1], aPointsDest[1], 4, - 2 * PI * (int)((int)min + (int)sec / 60) / 60);
analog_clock_win.c:175
GUI_RotatePolygon(aPointsDest[2], aPointsDest[2], 4, - 2 * PI * sec / 60);
analog_clock_win.c:179
GUI_RotatePolygon(aPointsDest[3], aPointsDest[3], 4, - 2 * PI * sec / 60);