Lines Matching refs:KoSnapStrategy
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()
58 qreal KoSnapStrategy::squareDistance(const QPointF &p1, const QPointF &p2) in squareDistance()
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()
499 : KoSnapStrategy(KoSnapGuide::BoundingBoxSnapping) in BoundingBoxSnapStrategy()
562 const qreal scalar = KoSnapStrategy::scalarProduct(point - lineA, diff / diffLength); in squareDistanceToLine()