Searched refs:KoSnapStrategy (Results 1 – 16 of 16) sorted by relevance
/dports/editors/calligra/calligra-3.2.1/libs/flake/ |
H A D | KoSnapStrategy.h | 36 class FLAKE_EXPORT KoSnapStrategy 39 explicit KoSnapStrategy(KoSnapGuide::Strategy type); 40 virtual ~KoSnapStrategy() {}; in ~KoSnapStrategy() 66 class FLAKE_EXPORT OrthogonalSnapStrategy : public KoSnapStrategy 78 class FLAKE_EXPORT NodeSnapStrategy : public KoSnapStrategy 87 class FLAKE_EXPORT ExtensionSnapStrategy : public KoSnapStrategy 102 class FLAKE_EXPORT IntersectionSnapStrategy : public KoSnapStrategy 111 class FLAKE_EXPORT GridSnapStrategy : public KoSnapStrategy 120 class FLAKE_EXPORT BoundingBoxSnapStrategy : public KoSnapStrategy 133 class FLAKE_EXPORT LineGuideSnapStrategy : public KoSnapStrategy
|
H A D | KoSnapStrategy.cpp | 35 KoSnapStrategy::KoSnapStrategy(KoSnapGuide::Strategy type) in KoSnapStrategy() function in KoSnapStrategy 40 QPointF KoSnapStrategy::snappedPosition() const in snappedPosition() 45 void KoSnapStrategy::setSnappedPosition(const QPointF &position) in setSnappedPosition() 50 KoSnapGuide::Strategy KoSnapStrategy::type() const in type() 69 : KoSnapStrategy(KoSnapGuide::OrthogonalSnapping) in OrthogonalSnapStrategy() 136 : KoSnapStrategy(KoSnapGuide::NodeSnapping) in NodeSnapStrategy() 176 : KoSnapStrategy(KoSnapGuide::ExtensionSnapping) in ExtensionSnapStrategy() 380 : KoSnapStrategy(KoSnapGuide::IntersectionSnapping) in IntersectionSnapStrategy() 429 : KoSnapStrategy(KoSnapGuide::GridSnapping) in GridSnapStrategy() 494 : KoSnapStrategy(KoSnapGuide::BoundingBoxSnapping) in BoundingBoxSnapStrategy() [all …]
|
H A D | KoSnapGuide.cpp | 54 QList<KoSnapStrategy*> strategies; 55 KoSnapStrategy *currentStrategy; 101 bool KoSnapGuide::addCustomSnapStrategy(KoSnapStrategy *customStrategy) in addCustomSnapStrategy() 144 foreach (KoSnapStrategy *strategy, d->strategies) { in snap() 151 qreal distance = KoSnapStrategy::squareDistance(snapCandidate, mousePosition); in snap()
|
H A D | KoSnapGuide.h | 28 class KoSnapStrategy; variable 104 bool addCustomSnapStrategy(KoSnapStrategy *customStrategy);
|
/dports/graphics/krita/krita-4.4.8/libs/flake/ |
H A D | KoSnapStrategy.h | 35 class KRITAFLAKE_EXPORT KoSnapStrategy 38 KoSnapStrategy(KoSnapGuide::Strategy type); 39 virtual ~KoSnapStrategy() {}; in ~KoSnapStrategy() 65 class KRITAFLAKE_EXPORT OrthogonalSnapStrategy : public KoSnapStrategy 77 class KRITAFLAKE_EXPORT NodeSnapStrategy : public KoSnapStrategy 86 class KRITAFLAKE_EXPORT ExtensionSnapStrategy : public KoSnapStrategy 101 class KRITAFLAKE_EXPORT IntersectionSnapStrategy : public KoSnapStrategy 110 class KRITAFLAKE_EXPORT GridSnapStrategy : public KoSnapStrategy 119 class KRITAFLAKE_EXPORT BoundingBoxSnapStrategy : public KoSnapStrategy
|
H A D | KoSnapStrategy.cpp | 38 KoSnapStrategy::KoSnapStrategy(KoSnapGuide::Strategy type) in KoSnapStrategy() function in KoSnapStrategy 43 QPointF KoSnapStrategy::snappedPosition() const in snappedPosition() 48 void KoSnapStrategy::setSnappedPosition(const QPointF &position) in setSnappedPosition() 53 KoSnapGuide::Strategy KoSnapStrategy::type() const in type() 66 qreal KoSnapStrategy::scalarProduct(const QPointF &p1, const QPointF &p2) in scalarProduct() 72 : KoSnapStrategy(KoSnapGuide::OrthogonalSnapping) in OrthogonalSnapStrategy() 137 : KoSnapStrategy(KoSnapGuide::NodeSnapping) in NodeSnapStrategy() 175 : KoSnapStrategy(KoSnapGuide::ExtensionSnapping) in ExtensionSnapStrategy() 377 : KoSnapStrategy(KoSnapGuide::IntersectionSnapping) in IntersectionSnapStrategy() 424 : KoSnapStrategy(KoSnapGuide::GridSnapping) in GridSnapStrategy() [all …]
|
H A D | KoSnapGuide.h | 29 class KoSnapStrategy; variable 114 bool addCustomSnapStrategy(KoSnapStrategy *customStrategy); 121 void overrideSnapStrategy(Strategy type, KoSnapStrategy *strategy);
|
H A D | KoSnapGuide.cpp | 57 typedef QSharedPointer<KoSnapStrategy> KoSnapStrategySP; 118 bool KoSnapGuide::addCustomSnapStrategy(KoSnapStrategy *customStrategy) in addCustomSnapStrategy() 127 void KoSnapGuide::overrideSnapStrategy(Strategy type, KoSnapStrategy *strategy) in overrideSnapStrategy() 197 qreal distance = KoSnapStrategy::squareDistance(snapCandidate, mousePosition); in snap()
|
/dports/graphics/krita/krita-4.4.8/libs/ui/canvas/ |
H A D | KisSnapPixelStrategy.h | 27 class KisSnapPixelStrategy : public KoSnapStrategy
|
H A D | KisSnapPointStrategy.h | 34 class KRITAUI_EXPORT KisSnapPointStrategy : public KoSnapStrategy
|
H A D | kis_snap_line_strategy.h | 27 class KisSnapLineStrategy : public KoSnapStrategy
|
H A D | KisSnapPointStrategy.cpp | 30 : KoSnapStrategy(type), in KisSnapPointStrategy()
|
H A D | KisSnapPixelStrategy.cpp | 27 KoSnapStrategy(type) in KisSnapPixelStrategy()
|
H A D | kis_snap_line_strategy.cpp | 31 : KoSnapStrategy(type), in KisSnapLineStrategy()
|
/dports/editors/calligra/calligra-3.2.1/libs/basicflakes/tools/ |
H A D | KoCreatePathTool_p.h | 116 class AngleSnapStrategy : public KoSnapStrategy 120 : KoSnapStrategy(KoSnapGuide::CustomSnapping), m_angleStep(angleStep), m_active(active) in AngleSnapStrategy()
|
/dports/graphics/krita/krita-4.4.8/libs/basicflakes/tools/ |
H A D | KoCreatePathTool_p.h | 111 class AngleSnapStrategy : public KoSnapStrategy 115 : KoSnapStrategy(KoSnapGuide::CustomSnapping), m_angleStep(angleStep), m_active(active) { in AngleSnapStrategy()
|