Krita Source Code Documentation
Loading...
Searching...
No Matches
KoSnapProxy.h
Go to the documentation of this file.
1
/* This file is part of the KDE project
2
* SPDX-FileCopyrightText: 2008-2009 Jan Hambrecht <jaham@gmx.net>
3
*
4
* SPDX-License-Identifier: LGPL-2.0-or-later
5
*/
6
#ifndef KOSNAPPROXY_H
7
#define KOSNAPPROXY_H
8
9
10
class
KoSnapGuide
;
11
class
KoShape
;
12
class
KoPathSegment
;
13
class
KoCanvasBase
;
14
#include <QList>
15
#include "kritaflake_export.h"
16
17
class
QPointF;
18
class
QRectF;
22
class
KRITAFLAKE_EXPORT
KoSnapProxy
23
{
24
public
:
25
KoSnapProxy
(
KoSnapGuide
*snapGuide);
26
28
QList<QPointF>
pointsInRect(
const
QRectF &
rect
,
bool
omitEditedShape);
29
31
QList<KoShape*>
shapesInRect(
const
QRectF &
rect
,
bool
omitEditedShape =
false
);
32
34
QList<QPointF>
pointsFromShape(
KoShape
*shape);
35
37
QList<KoPathSegment>
segmentsInRect(
const
QRectF &
rect
,
bool
omitEditedShape);
38
40
QList<KoShape*>
shapes(
bool
omitEditedShape =
false
);
41
43
KoCanvasBase
*canvas();
44
45
private
:
46
KoSnapGuide
*
m_snapGuide
;
47
};
48
49
#endif
KoCanvasBase
Definition
KoCanvasBase.cpp:24
KoPathSegment
A KoPathSegment consist of two neighboring KoPathPoints.
Definition
KoPathSegment.cpp:19
KoShape
Definition
KoShape.h:92
KoSnapGuide
Definition
KoSnapGuide.cpp:24
KoSnapProxy
Definition
KoSnapProxy.h:23
KoSnapProxy::m_snapGuide
KoSnapGuide * m_snapGuide
Definition
KoSnapProxy.h:46
QList
Definition
KisQStringListFwd.h:16
rect
Definition
xcftools.h:129
libs
flake
KoSnapProxy.h
Generated at
2025-11-04 02:30:02+01:00
from
Krita
branch
master
, commit
c9dde2e79561a8aea4a7e8d9ac99c98a7bac9e52