18 #ifndef QGSMAPCANVASSNAPPER_H
19 #define QGSMAPCANVASSNAPPER_H
54 int snapToCurrentLayer(
const QPoint& p, QList<QgsSnappingResult>& results,
QgsSnapper::SnappingType snap_to,
double snappingTol = -1,
const QList<QgsPoint>& excludePoints = QList<QgsPoint>() );
63 int snapToBackgroundLayers(
const QPoint& p, QList<QgsSnappingResult>& results,
const QList<QgsPoint>& excludePoints = QList<QgsPoint>() );
64 int snapToBackgroundLayers(
const QgsPoint& point, QList<QgsSnappingResult>& results,
const QList<QgsPoint>& excludePoints = QList<QgsPoint>() );