diff --git a/src/snapped-point.h b/src/snapped-point.h
index dbd672bdfd1018276875fc6dd097d01d9b6dfb94..7085ccae8f6d0d09c12d5ab6dc118577ec3b242e 100644 (file)
--- a/src/snapped-point.h
+++ b/src/snapped-point.h
SNAPTARGET_PATH_INTERSECTION,
SNAPTARGET_BBOX_CORNER,
SNAPTARGET_BBOX_EDGE,
- SNAPTARGET_GRADIENT
+ SNAPTARGET_GRADIENT,
+ SNAPTARGET_PAGE_BORDER
};
/// Class describing the result of an attempt to snap.
void setPointerDistance(Geom::Coord const d) {_pointer_distance = d;}
/* This is the preferred method to find out which point we have snapped
- * to, because it only returns a point if snapping has actually occured
+ * to, because it only returns a point if snapping has actually occurred
* (by overwriting p)
*/
void getPoint(Geom::Point &p) const;
Geom::Point getTransformation() const {return _transformation;}
void setTransformation(Geom::Point const t) {_transformation = t;}
void setTarget(SnapTargetType const target) {_target = target;}
- SnapTargetType getTarget() {return _target;}
+ SnapTargetType getTarget() const {return _target;}
bool isOtherSnapBetter(SnappedPoint const &other_one, bool weighted) const;