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:
parent
3e50387f82
commit
1202594db6
@ -6,11 +6,8 @@
|
|||||||
\title Painter Paths Example
|
\title Painter Paths Example
|
||||||
\examplecategory {Graphics & Multimedia}
|
\examplecategory {Graphics & Multimedia}
|
||||||
\ingroup examples-painting
|
\ingroup examples-painting
|
||||||
\brief The Painter Paths example shows how painter paths can be
|
\brief The Painter Paths example shows how to use painter paths
|
||||||
used to beuild complex shapes for rendering.
|
to build complex shapes for rendering.
|
||||||
|
|
||||||
\brief The Painter Paths example shows how painter paths can be used to
|
|
||||||
build complex shapes for rendering.
|
|
||||||
|
|
||||||
\image painterpaths-example.png
|
\image painterpaths-example.png
|
||||||
|
|
||||||
@ -104,7 +101,7 @@
|
|||||||
explicitly start a new subpath using the QPainterPath::moveTo()
|
explicitly start a new subpath using the QPainterPath::moveTo()
|
||||||
function.
|
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
|
function, which adds a given rectangle to the path as a closed
|
||||||
subpath. The rectangle is added as a clockwise set of lines. The
|
subpath. The rectangle is added as a clockwise set of lines. The
|
||||||
painter path's current position after the rect has been added is
|
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.
|
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
|
convenience function which adds the given polygon to the path as a
|
||||||
new subpath. Current position after the polygon has been added is
|
new subpath. Current position after the polygon has been added is
|
||||||
the last point in polygon.
|
the last point in polygon.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user