Krita Source Code Documentation
Loading...
Searching...
No Matches
KoPathShape_p.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2009 Thomas Zander <zander@kde.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6#ifndef KOPATHSHAPEPRIVATE_H
7#define KOPATHSHAPEPRIVATE_H
8
9#include "KoPathShape.h"
10#include "KoMarker.h"
11
12#include <QSharedData>
13
15{
16public:
17 explicit Private();
18 explicit Private(const Private &rhs);
19
20 QRectF handleRect(const QPointF &p, qreal radius) const;
21
22 void map(const QTransform &matrix);
23
29 KoSubpath *subPath(int subpathIndex) const;
30#ifndef NDEBUG
32 void paintDebug(QPainter &painter);
36 void debugPath() const;
37#endif
38
39 Qt::FillRule fillRule;
40
42
43 QMap<KoFlake::MarkerPosition, QExplicitlySharedDataPointer<KoMarker>> markersNew;
45};
46
47#endif
const Params2D p
KoSubpathList subpaths
Qt::FillRule fillRule
QMap< KoFlake::MarkerPosition, QExplicitlySharedDataPointer< KoMarker > > markersNew
void debugPath() const
print debug information about a the points of the path
void paintDebug(QPainter &painter)
void map(const QTransform &matrix)
QRectF handleRect(const QPointF &p, qreal radius) const
KoSubpath * subPath(int subpathIndex) const
Returns subpath at given index.