From 1202594db6b8b5ec801989d06004c39b725a67a0 Mon Sep 17 00:00:00 2001 From: Jaishree Vyas Date: Thu, 30 Nov 2023 17:14:22 +0100 Subject: [PATCH] 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 --- examples/widgets/doc/src/painterpaths.qdoc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/examples/widgets/doc/src/painterpaths.qdoc b/examples/widgets/doc/src/painterpaths.qdoc index 05d21cc0a29..58965af1c2a 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.