summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-06-30 18:48:32 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-06-30 18:48:32 (GMT)
commit86608d537eabc3cf7e1d1ddd1d0a2f90ccc2de2a (patch)
treefdd6e47a9e0f8a83f65465999d0145cf7aba7b60 /src/corelib
parent358e018dbb4b4dbdbfc702a6d462f113a1357e1e (diff)
downloadQt-86608d537eabc3cf7e1d1ddd1d0a2f90ccc2de2a.zip
Qt-86608d537eabc3cf7e1d1ddd1d0a2f90ccc2de2a.tar.gz
Qt-86608d537eabc3cf7e1d1ddd1d0a2f90ccc2de2a.tar.bz2
Doc: Clarified the range of return values from QLineF::angle().
Task-number: QTBUG-20197
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qline.cpp5
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()
*/