Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.3
-
None
-
86608d537eabc3cf7e1d1ddd1d0a2f90ccc2de2a
Description
The documentation for QLineF::angle() claims:
"Positive values for the angles mean counter-clockwise while negative values mean the clockwise direction. Zero degrees is at the 3 o'clock position."
This is not true. The return value is normalized to [0,360], see http://qt.gitorious.org/qt/qt/blobs/v4.7.3/src/corelib/tools/qline.cpp#line579