diff options
| author | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-07-12 05:51:13 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-07-12 05:51:13 +0000 |
| commit | 35300c9822f9f84c8a011913235fd4e5dc2c5ac8 (patch) | |
| tree | 87c2a9ead85042f584c7b6411adfb7118496333d /src/line-snapper.h | |
| parent | Stop setting of stops from getting url() reference colors. (diff) | |
| download | inkscape-35300c9822f9f84c8a011913235fd4e5dc2c5ac8.tar.gz inkscape-35300c9822f9f84c8a011913235fd4e5dc2c5ac8.zip | |
- Snap while rotating an object using the selector tool
- Rename the ConstraintLine class to SnapConstraint
- Move some duplicated code to 2geom
(bzr r9607)
Diffstat (limited to 'src/line-snapper.h')
| -rw-r--r-- | src/line-snapper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/line-snapper.h b/src/line-snapper.h index 1aa3526cc..403c8cbba 100644 --- a/src/line-snapper.h +++ b/src/line-snapper.h @@ -34,7 +34,7 @@ public: void constrainedSnap(SnappedConstraints &sc, Inkscape::SnapCandidatePoint const &p, Geom::OptRect const &bbox_to_snap, - ConstraintLine const &c, + SnapConstraint const &c, std::vector<SPItem const *> const *it) const; protected: @@ -54,7 +54,7 @@ private: // Will only be implemented for guide lines, because grid lines don't have an origin virtual void _addSnappedLinesOrigin(SnappedConstraints &sc, Geom::Point const origin, Geom::Coord const snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const; - virtual void _addSnappedPoint(SnappedConstraints &sc, Geom::Point const snapped_point, Geom::Coord const snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap) const = 0; + virtual void _addSnappedPoint(SnappedConstraints &sc, Geom::Point const snapped_point, Geom::Coord const snapped_distance, SnapSourceType const &source, long source_num, bool constrained_snap, Geom::Coord angle) const = 0; }; } |
