1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QPEN_P_H
5#define QPEN_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/private/qglobal_p.h>
19
20QT_BEGIN_NAMESPACE
21
22class QPenPrivate {
23public:
24 QPenPrivate(const QBrush &brush, qreal width, Qt::PenStyle, Qt::PenCapStyle,
25 Qt::PenJoinStyle _joinStyle);
26 QAtomicInt ref;
27 qreal width;
28 QBrush brush;
29 Qt::PenStyle style;
30 Qt::PenCapStyle capStyle;
31 Qt::PenJoinStyle joinStyle;
32 mutable QList<qreal> dashPattern;
33 qreal dashOffset;
34 qreal miterLimit;
35 uint cosmetic : 1;
36};
37
38QT_END_NAMESPACE
39
40#endif // QPEN_P_H
41

source code of qtbase/src/gui/painting/qpen_p.h