summaryrefslogtreecommitdiffstats
path: root/examples/widgets/doc/src/painterpaths.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/doc/src/painterpaths.qdoc')
-rw-r--r--examples/widgets/doc/src/painterpaths.qdoc40
1 files changed, 7 insertions, 33 deletions
diff --git a/examples/widgets/doc/src/painterpaths.qdoc b/examples/widgets/doc/src/painterpaths.qdoc
index bd821ac1bf..305a7608e5 100644
--- a/examples/widgets/doc/src/painterpaths.qdoc
+++ b/examples/widgets/doc/src/painterpaths.qdoc
@@ -1,39 +1,13 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the documentation of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:FDL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Free Documentation License Usage
-** Alternatively, this file may be used under the terms of the GNU Free
-** Documentation License version 1.3 as published by the Free Software
-** Foundation and appearing in the file included in the packaging of
-** this file. Please review the following information to ensure
-** the GNU Free Documentation License version 1.3 requirements
-** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
-** $QT_END_LICENSE$
-**
-****************************************************************************/
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
\example painting/painterpaths
\title Painter Paths Example
+ \examplecategory {Graphics}
\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
@@ -127,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
@@ -175,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.