diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2007-11-03 18:11:46 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2007-11-03 18:11:46 +0000 |
| commit | 8ed66ab7cb377ed90e3213fc3bba8e5bb0c63a11 (patch) | |
| tree | 4d0150783a2f04376bb1b616a249a618581717c4 /src/snap.h | |
| parent | add destructor to LayerManager that disconnects it signals. see bug: [ 172087... (diff) | |
| download | inkscape-8ed66ab7cb377ed90e3213fc3bba8e5bb0c63a11.tar.gz inkscape-8ed66ab7cb377ed90e3213fc3bba8e5bb0c63a11.zip | |
Oops, don't use tabs! (replace tabs by 4 spaces)
(bzr r4020)
Diffstat (limited to 'src/snap.h')
| -rw-r--r-- | src/snap.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/snap.h b/src/snap.h index 29d22a1cd..b7a6151ad 100644 --- a/src/snap.h +++ b/src/snap.h @@ -77,8 +77,8 @@ public: Inkscape::Snapper::ConstraintLine const &c, std::list<SPItem const *> const &it) const; - Inkscape::SnappedPoint guideSnap(NR::Point const &p, - NR::Point const &guide_normal) const; + Inkscape::SnappedPoint guideSnap(NR::Point const &p, + NR::Point const &guide_normal) const; std::pair<NR::Point, bool> freeSnapTranslation(Inkscape::Snapper::PointType t, std::vector<NR::Point> const &p, @@ -132,16 +132,16 @@ public: bool getSnapModeNode() const; bool getSnapModeGuide() const; - void setIncludeItemCenter(bool enabled) { - _include_item_center = enabled; - object.setIncludeItemCenter(enabled); //store a local copy in the object-snapper - //instead of passing it through many functions - } - - bool getIncludeItemCenter() const { - return _include_item_center; - } - + void setIncludeItemCenter(bool enabled) { + _include_item_center = enabled; + object.setIncludeItemCenter(enabled); //store a local copy in the object-snapper + //instead of passing it through many functions + } + + bool getIncludeItemCenter() const { + return _include_item_center; + } + protected: SPNamedView const *_named_view; @@ -167,7 +167,7 @@ private: NR::Dim2 dim, bool uniform) const; - Inkscape::SnappedPoint findBestSnap(NR::Point const &p, SnappedConstraints &sc) const; + Inkscape::SnappedPoint findBestSnap(NR::Point const &p, SnappedConstraints &sc) const; }; #endif /* !SEEN_SNAP_H */ |
