Doc: PainterPaths-Graphic&Multimedia-Example typo in the documentation

Changed the brief and some grammatical errors.

Fixes: QTBUG-119602
Pick-to: 6.6
Change-Id: Ib64abeb735899b0ae1cee64709ad3d7f8f440d9e
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
Jaishree Vyas 2023-11-30 17:14:22 +01:00
parent 3e50387f82
commit 1202594db6

View File

@ -6,11 +6,8 @@
\title Painter Paths Example
\examplecategory {Graphics & Multimedia}
\ingroup examples-painting
\brief The Painter Paths example shows how painter paths can be
used to beuild complex shapes for rendering.
\brief The Painter Paths example shows how painter paths can be used to
build complex shapes for rendering.
\brief The Painter Paths example shows how to use painter paths
to build complex shapes for rendering.
\image painterpaths-example.png
@ -104,7 +101,7 @@
explicitly start a new subpath using the QPainterPath::moveTo()
function.
QPainterPath also provide the QPainterPath::addRect() convenience
QPainterPath also provides the QPainterPath::addRect() convenience
function, which adds a given rectangle to the path as a closed
subpath. The rectangle is added as a clockwise set of lines. The
painter path's current position after the rect has been added is
@ -152,7 +149,7 @@
Constructing a polygon is equivalent to constructing a rectangle.
QPainterPath also provide the QPainterPath::addPolygon()
QPainterPath also provides the QPainterPath::addPolygon()
convenience function which adds the given polygon to the path as a
new subpath. Current position after the polygon has been added is
the last point in polygon.