summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qline.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-06-30 18:48:32 (GMT)
committerTimo Turunen <timo.p.turunen@nokia.com>2011-08-30 07:02:05 (GMT)
commitad2164422b0e3b2c5f3b247a1e813271428d8f0d (patch)
tree585de12e9b44d6569b66636bc188093cef06e70b /src/corelib/tools/qline.cpp
parente12b5e8cc2500d15d79dfb43a64c41185d2958b7 (diff)
downloadQt-ad2164422b0e3b2c5f3b247a1e813271428d8f0d.zip
Qt-ad2164422b0e3b2c5f3b247a1e813271428d8f0d.tar.gz
Qt-ad2164422b0e3b2c5f3b247a1e813271428d8f0d.tar.bz2
Doc: Clarified the range of return values from QLineF::angle().
Task-number: QTBUG-20197 (cherry picked from commit 86608d537eabc3cf7e1d1ddd1d0a2f90ccc2de2a) Reapplied after bad v4.7.4 merge
Diffstat (limited to 'src/corelib/tools/qline.cpp')
-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()
*/