diff options
author | David Boddie <david.boddie@nokia.com> | 2011-06-30 18:48:32 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-07-01 11:56:33 (GMT) |
commit | 8a6dc154ef1fa71e85f02d011d6cbeb63e2ca3bb (patch) | |
tree | 31d40ab5163bcdce56cdca2722b07d0d8411ec86 | |
parent | 16355187f69d4431b79b05201b36729c8e5102fe (diff) | |
download | Qt-8a6dc154ef1fa71e85f02d011d6cbeb63e2ca3bb.zip Qt-8a6dc154ef1fa71e85f02d011d6cbeb63e2ca3bb.tar.gz Qt-8a6dc154ef1fa71e85f02d011d6cbeb63e2ca3bb.tar.bz2 |
Doc: Clarified the range of return values from QLineF::angle().
Task-number: QTBUG-20197
(cherry picked from commit 86608d537eabc3cf7e1d1ddd1d0a2f90ccc2de2a)
-rw-r--r-- | src/corelib/tools/qline.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/corelib/tools/qline.cpp b/src/corelib/tools/qline.cpp index af3b7d5..0f67652 100644 --- a/src/corelib/tools/qline.cpp +++ b/src/corelib/tools/qline.cpp @@ -564,8 +564,9 @@ qreal QLineF::length() const Returns the angle of the line in degrees. - Positive values for the angles mean counter-clockwise while negative values - mean the clockwise direction. Zero degrees is at the 3 o'clock position. + The return value will be in the range of values from 0.0 up to but not + including 360.0. The angles are measured counter-clockwise from a point + on the x-axis to the right of the origin (x > 0). \sa setAngle() */ |