diff options
| author | Diederik van Lierop <mail@diedenrezi.nl> | 2009-08-02 12:32:58 +0000 |
|---|---|---|
| committer | dvlierop2 <dvlierop2@users.sourceforge.net> | 2009-08-02 12:32:58 +0000 |
| commit | 1491c7366dff69bc5e5dc9de5c6574f71d31ed1b (patch) | |
| tree | f1070b5020d665b5990a2b483228b66da3f03007 /src/guide-snapper.h | |
| parent | Cleaning some code again and changing individual filters id to avoid conflict... (diff) | |
| download | inkscape-1491c7366dff69bc5e5dc9de5c6574f71d31ed1b.tar.gz inkscape-1491c7366dff69bc5e5dc9de5c6574f71d31ed1b.zip | |
Snap to a guide's origin too (resulting in a 2D constraint), instead of only to the guide itself (only 1D constraint)
(bzr r8383)
Diffstat (limited to 'src/guide-snapper.h')
| -rw-r--r-- | src/guide-snapper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/guide-snapper.h b/src/guide-snapper.h index f9f433bf4..1dc602f72 100644 --- a/src/guide-snapper.h +++ b/src/guide-snapper.h @@ -35,6 +35,7 @@ public: private: LineList _getSnapLines(Geom::Point const &p) const; void _addSnappedLine(SnappedConstraints &sc, Geom::Point const snapped_point, Geom::Coord const snapped_distance, SnapSourceType const &source, Geom::Point const normal_to_line, Geom::Point const point_on_line) const; + void _addSnappedLinesOrigin(SnappedConstraints &sc, Geom::Point const origin, Geom::Coord const snapped_distance, SnapSourceType const &source) const; void _addSnappedPoint(SnappedConstraints &sc, Geom::Point const snapped_point, Geom::Coord const snapped_distance, SnapSourceType const &source) const; }; |
