summaryrefslogtreecommitdiffstats
path: root/src/object-snapper.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2007-11-03 18:11:46 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2007-11-03 18:11:46 +0000
commit8ed66ab7cb377ed90e3213fc3bba8e5bb0c63a11 (patch)
tree4d0150783a2f04376bb1b616a249a618581717c4 /src/object-snapper.h
parentadd destructor to LayerManager that disconnects it signals. see bug: [ 172087... (diff)
downloadinkscape-8ed66ab7cb377ed90e3213fc3bba8e5bb0c63a11.tar.gz
inkscape-8ed66ab7cb377ed90e3213fc3bba8e5bb0c63a11.zip
Oops, don't use tabs! (replace tabs by 4 spaces)
(bzr r4020)
Diffstat (limited to 'src/object-snapper.h')
-rw-r--r--src/object-snapper.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/object-snapper.h b/src/object-snapper.h
index 5b2e6f37d..d1a2c94ce 100644
--- a/src/object-snapper.h
+++ b/src/object-snapper.h
@@ -74,11 +74,11 @@ public:
}
void setStrictSnapping(bool enabled) {
- _strict_snapping = enabled;
+ _strict_snapping = enabled;
}
SnappedPoint guideSnap(NR::Point const &p,
- DimensionToSnap const snap_dim) const;
+ DimensionToSnap const snap_dim) const;
bool ThisSnapperMightSnap() const;
@@ -88,36 +88,36 @@ private:
std::vector<NR::Point> *_points_to_snap_to;
std::vector<Path*> *_paths_to_snap_to;
void _doFreeSnap(SnappedConstraints &sc,
- Inkscape::Snapper::PointType const &t,
- NR::Point const &p,
- bool const &first_point,
+ Inkscape::Snapper::PointType const &t,
+ NR::Point const &p,
+ bool const &first_point,
std::vector<NR::Point> &points_to_snap,
- std::list<SPItem const *> const &it) const;
+ std::list<SPItem const *> const &it) const;
void _doConstrainedSnap(SnappedConstraints &sc,
- Inkscape::Snapper::PointType const &t,
- NR::Point const &p,
- bool const &first_point,
- std::vector<NR::Point> &points_to_snap,
- ConstraintLine const &c,
- std::list<SPItem const *> const &it) const;
-
+ Inkscape::Snapper::PointType const &t,
+ NR::Point const &p,
+ bool const &first_point,
+ std::vector<NR::Point> &points_to_snap,
+ ConstraintLine const &c,
+ std::list<SPItem const *> const &it) const;
+
void _findCandidates(SPObject* r,
- std::list<SPItem const *> const &it,
- bool const &first_point,
- std::vector<NR::Point> &points_to_snap,
- DimensionToSnap const snap_dim) const;
+ std::list<SPItem const *> const &it,
+ bool const &first_point,
+ std::vector<NR::Point> &points_to_snap,
+ DimensionToSnap const snap_dim) const;
bool _snapNodes(Inkscape::Snapper::PointType const &t,
- Inkscape::SnappedPoint &s,
- NR::Point const &p,
- bool const &first_point,
- DimensionToSnap const snap_dim) const;
-
+ Inkscape::SnappedPoint &s,
+ NR::Point const &p,
+ bool const &first_point,
+ DimensionToSnap const snap_dim) const;
+
bool _snapPaths(Inkscape::Snapper::PointType const &t,
- Inkscape::SnappedPoint &s,
- NR::Point const &p,
- bool const &first_point) const;
+ Inkscape::SnappedPoint &s,
+ NR::Point const &p,
+ bool const &first_point) const;
bool _snap_to_itemnode;
bool _snap_to_itempath;