diff options
| author | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-08-07 08:15:18 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-08-07 08:15:18 +0000 |
| commit | a83da58db0ad8e9a0b559a9fd5a55f40e247f38e (patch) | |
| tree | 4ae03a2048586c9e16b1c297cfb570471585495a /src/snapped-point.h | |
| parent | Corects delete/delete[] issue. Fixes bug #613723. (diff) | |
| download | inkscape-a83da58db0ad8e9a0b559a9fd5a55f40e247f38e.tar.gz inkscape-a83da58db0ad8e9a0b559a9fd5a55f40e247f38e.zip | |
Add a constrained snap method that takes multiple constraints. This reduces the code repetitiveness in the node tool
(bzr r9692)
Diffstat (limited to 'src/snapped-point.h')
| -rw-r--r-- | src/snapped-point.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/snapped-point.h b/src/snapped-point.h index 05e954e1e..4b4882ee4 100644 --- a/src/snapped-point.h +++ b/src/snapped-point.h @@ -54,7 +54,9 @@ public: * has occurred; A check should be implemented in the calling code * to check for snapping. Use this method only when really needed, e.g. * when the calling code is trying to snap multiple points and must - * determine itself which point is most appropriate + * determine itself which point is most appropriate, or when doing a + * constrainedSnap that also enforces projection onto the constraint (in + * which case you need the new point anyway, even if we didn't snap) */ Geom::Point getPoint() const {return _point;} void setPoint(Geom::Point const &p) {_point = p;} |
