Krita Source Code Documentation
Loading...
Searching...
No Matches
KoSnapData.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2008 Jan Hambrecht <jaham@gmx.net>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KOSNAPDATA_H
8#define KOSNAPDATA_H
9
10#include <kritaflake_export.h>
11
12#include "KoPathSegment.h"
13
25class KRITAFLAKE_EXPORT KoSnapData
26{
27public:
28 KoSnapData();
30
32 QList<QPointF> snapPoints() const;
33
35 void setSnapPoints(const QList<QPointF> &snapPoints);
36
38 QList<KoPathSegment> snapSegments() const;
39
41 void setSnapSegments(const QList<KoPathSegment> &snapSegments);
42
43private:
46};
47
48#endif //KOSNAPDATA_H
QList< QPointF > m_points
Definition KoSnapData.h:44
QList< KoPathSegment > m_segments
Definition KoSnapData.h:45