mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-06 17:25:24 +08:00
qt 6.5.1 original
This commit is contained in:
26
examples/widgets/doc/src/pathstroke.qdoc
Normal file
26
examples/widgets/doc/src/pathstroke.qdoc
Normal file
@ -0,0 +1,26 @@
|
||||
// Copyright (C) 2016 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
|
||||
|
||||
/*!
|
||||
\example painting/pathstroke
|
||||
\title Path Stroking
|
||||
\ingroup examples-painting
|
||||
\brief The Path Stroking example shows various types of pens that
|
||||
can be used with QPainter.
|
||||
|
||||
\brief In this example we show some of the various types of pens that can be
|
||||
used in Qt.
|
||||
|
||||
\image pathstroke-demo.png
|
||||
|
||||
Qt defines cap styles for how the end points are treated and join
|
||||
styles for how path segments are joined together. A standard set of
|
||||
predefined dash patterns are also included that can be used with
|
||||
QPen.
|
||||
|
||||
In addition to the predefined patterns available in
|
||||
QPen we also demonstrate direct use of the
|
||||
QPainterPathStroker class which can be used to define
|
||||
custom dash patterns. You can see this by enabling the
|
||||
\e{Custom Pattern} option.
|
||||
*/
|
Reference in New Issue
Block a user