summaryrefslogtreecommitdiffstats
path: root/src/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/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/snapper.h')
-rw-r--r--src/snapper.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/snapper.h b/src/snapper.h
index a122db72f..64150be18 100644
--- a/src/snapper.h
+++ b/src/snapper.h
@@ -20,10 +20,10 @@
#include "snapped-line.h"
struct SnappedConstraints {
- std::list<Inkscape::SnappedPoint> points;
- std::list<Inkscape::SnappedLine> lines;
- std::list<Inkscape::SnappedInfiniteLine> grid_lines;
- std::list<Inkscape::SnappedInfiniteLine> guide_lines;
+ std::list<Inkscape::SnappedPoint> points;
+ std::list<Inkscape::SnappedLine> lines;
+ std::list<Inkscape::SnappedInfiniteLine> grid_lines;
+ std::list<Inkscape::SnappedInfiniteLine> guide_lines;
};
struct SPNamedView;
@@ -60,17 +60,17 @@ public:
void setEnabled(bool s);
void freeSnap(SnappedConstraints &sc,
- PointType const &t,
+ PointType const &t,
NR::Point const &p,
bool const &first_point,
- std::vector<NR::Point> &points_to_snap,
+ std::vector<NR::Point> &points_to_snap,
SPItem const *it) const;
void freeSnap(SnappedConstraints &sc,
- PointType const &t,
+ PointType const &t,
NR::Point const &p,
bool const &first_point,
- std::vector<NR::Point> &points_to_snap,
+ std::vector<NR::Point> &points_to_snap,
std::list<SPItem const *> const &it) const;
class ConstraintLine
@@ -99,7 +99,7 @@ public:
};
void constrainedSnap(SnappedConstraints &sc,
- PointType const &t,
+ PointType const &t,
NR::Point const &p,
bool const &first_point,
std::vector<NR::Point> &points_to_snap,
@@ -107,10 +107,10 @@ public:
SPItem const *it) const;
void constrainedSnap(SnappedConstraints &sc,
- PointType const &t,
+ PointType const &t,
NR::Point const &p,
bool const &first_point,
- std::vector<NR::Point> &points_to_snap,
+ std::vector<NR::Point> &points_to_snap,
ConstraintLine const &c,
std::list<SPItem const *> const &it) const;
@@ -131,10 +131,10 @@ private:
* \return Snapped point.
*/
virtual void _doFreeSnap(SnappedConstraints &sc,
- PointType const &t,
- NR::Point const &p,
- bool const &first_point,
- std::vector<NR::Point> &points_to_snap,
+ 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 = 0;
/**
@@ -148,10 +148,10 @@ private:
* \return Snapped point.
*/
virtual void _doConstrainedSnap(SnappedConstraints &sc,
- PointType const &t,
- NR::Point const &p,
- bool const &first_point,
- std::vector<NR::Point> &points_to_snap,
+ 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 = 0;