diff --git a/src/snap-preferences.h b/src/snap-preferences.h
index 63d7fba15215bffbbf26ac60d7e2f4ff91ff08b4..c88503e7da28d6ceaa51d7812e16d858297cb688 100644 (file)
--- a/src/snap-preferences.h
+++ b/src/snap-preferences.h
SnapPreferences();
/// Point types to snap.
- typedef int PointType;
- static const PointType SNAPPOINT_NODE;
- static const PointType SNAPPOINT_BBOX;
- static const PointType SNAPPOINT_GUIDE;
+ typedef int PointType; // can be only one of the types below, never two or more at the same time
+ static const PointType SNAPPOINT_NODE; // will in general not snap to bounding boxes
+ static const PointType SNAPPOINT_BBOX; // will in general not snap to nodes
+ static const PointType SNAPPOINT_OTHER;// e.g. guides, gradient knots
void setSnapModeBBox(bool enabled);
void setSnapModeNode(bool enabled);