diff options
| author | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-01-01 20:06:51 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-01-01 20:06:51 +0000 |
| commit | 1feb29aa4b344392000609e310433015454bd626 (patch) | |
| tree | f1b2e69b151104c0031fc711d0d8cc8caf13359d /src/snap.h | |
| parent | adding 'inductiveload' to AUTHORS (diff) | |
| download | inkscape-1feb29aa4b344392000609e310433015454bd626.tar.gz inkscape-1feb29aa4b344392000609e310433015454bd626.zip | |
Refactor snapping of gradient handles; now behaves like all other snapping, i.e. no more snapping to imaginary infinite lines along the bounding box
Fixed bugs:
- https://launchpad.net/bugs/371001
(bzr r8932)
Diffstat (limited to 'src/snap.h')
| -rw-r--r-- | src/snap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/snap.h b/src/snap.h index a3e463092..413b753d1 100644 --- a/src/snap.h +++ b/src/snap.h @@ -167,6 +167,8 @@ public: bool getSnapIndicator() const {return _snapindicator;} + Inkscape::SnappedPoint findBestSnap(Geom::Point const &p, Inkscape::SnapSourceType const source_type, SnappedConstraints &sc, bool constrained, bool noCurves = false) const; + protected: SPNamedView const *_named_view; @@ -200,8 +202,6 @@ private: bool const uniform) const; void _displaySnapsource(Inkscape::SnapPreferences::PointType point_type, std::pair<Geom::Point, int> const &p) const; - - Inkscape::SnappedPoint findBestSnap(Geom::Point const &p, Inkscape::SnapSourceType const source_type, SnappedConstraints &sc, bool constrained, bool noCurves = false) const; }; #endif /* !SEEN_SNAP_H */ |
