7#ifndef __KIS_SNAP_PIXEL_STRATEGY_H
8#define __KIS_SNAP_PIXEL_STRATEGY_H
20 bool snap(
const QPointF &mousePosition,
KoSnapProxy * proxy, qreal maxSnapDistance)
override;
QPainterPath decoration(const KoViewConverter &converter) const override
returns the current snap strategy decoration
KisSnapPixelStrategy(KoSnapGuide::Strategy type=KoSnapGuide::PixelSnapping)
bool snap(const QPointF &mousePosition, KoSnapProxy *proxy, qreal maxSnapDistance) override
~KisSnapPixelStrategy() override
Strategy
the different possible snap Strategies
KoSnapGuide::Strategy type() const
returns the strategies type