Hiya, im having some problems about calculating the clock hand end angle's. I searched a bit around the internet, but I didnt found any formula wich I could get working. This is a simple test example. #include <GDIPlus.au3> #include <Math.au3> $GUI = GUICreate("") GUISetState() ;~ $endX = ;~ $endY = _GDIPlus_Startup() $hGraphic = _GDIPlus_GraphicsCreateFromHWND($GUI) _GDIPlus_GraphicsDrawLine($hGraphic, 200, 200, $endX, $endY) _GDIPlus_GraphicsDispose($hGraphic) _GDIPl