diff options
author | Jaishree Vyas <jaishree.vyas@qt.io> | 2023-11-30 17:14:22 +0100 |
---|---|---|
committer | Jaishree Vyas <jaishree.vyas@qt.io> | 2023-12-01 20:56:10 +0100 |
commit | 1202594db6b8b5ec801989d06004c39b725a67a0 (patch) | |
tree | 8f770555c1a6db27556945e6e404231c01189d6b /examples/widgets/doc | |
parent | 3e50387f82d58bbcae0300bbc9cba8f8a3eaa9e1 (diff) |
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>
Diffstat (limited to 'examples/widgets/doc')
-rw-r--r-- | examples/widgets/doc/src/painterpaths.qdoc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/examples/widgets/doc/src/painterpaths.qdoc b/examples/widgets/doc/src/painterpaths.qdoc index 05d21cc0a2..58965af1c2 100644 --- a/examples/widgets/doc/src/painterpaths.qdoc +++ b/examples/widgets/doc/src/painterpaths.qdoc @@ -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. |