Doc: Fix mislabelled diagram for Context2D.arc()

Previously, the text showed:

    Pi/2 -> Pi -> 3Pi/2 -> 2Pi

But the curves showed:

    3Pi/2 -> Pi -> Pi/2 -> 2Pi

The curves are now drawn in a clockwise sequence to match the text.

Pick-to: 6.6 6.5 6.2 5.15
Change-Id: Ib8fe0c17c652a0f357d27372403440f4dd031516
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
Sze Howe Koh 2022-09-13 11:53:42 +08:00
parent 0ec5680ab3
commit 0c615d61ba
2 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -2369,8 +2369,8 @@ QV4::ReturnedValue QQuickJSContext2DPrototype::method_strokeRect(const QV4::Func
\image qml-item-canvas-startAngle.png
The \a anticlockwise parameter is \c true for each arc in the figure above
because they are all drawn in the anticlockwise direction.
The \a anticlockwise parameter is \c false for each arc in the figure above
because they are all drawn in the clockwise direction.
\sa arcTo, {http://www.w3.org/TR/2dcontext/#dom-context-2d-arc}{W3C's 2D
Context Standard for arc()}