Doc: Clarified the range of return values from QLineF::angle().
Task-number: QTBUG-20197 (cherry picked from commit 86608d537eabc3cf7e1d1ddd1d0a2f90ccc2de2a) (cherry picked from commit 8a6dc154ef1fa71e85f02d011d6cbeb63e2ca3bb) Change-Id: I40cfba4ee45f61428b00d4044640f600c462d564 Reviewed-on: http://codereview.qt-project.org/1984 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com> Reviewed-by: Peter Yard <peter.yard@nokia.com>
This commit is contained in:
parent
6c588c52da
commit
94046ab192
@ -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()
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user