summaryrefslogtreecommitdiffstats
path: root/src/sp-image.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2008-07-21 20:38:09 +0000
committerdvlierop2 <dvlierop2@users.sourceforge.net>2008-07-21 20:38:09 +0000
commitf3717986550c5c21880a7347ad02a6a9b944d76c (patch)
tree70e2836396bac20fae25a01bcaac64e9f121ec9a /src/sp-image.cpp
parentcleanup includes (diff)
downloadinkscape-f3717986550c5c21880a7347ad02a6a9b944d76c.tar.gz
inkscape-f3717986550c5c21880a7347ad02a6a9b944d76c.zip
Implement snapping of clipping paths and masks
(bzr r6386)
Diffstat (limited to 'src/sp-image.cpp')
-rw-r--r--src/sp-image.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp-image.cpp b/src/sp-image.cpp
index 2dc3bfb27..f1e645d6f 100644
--- a/src/sp-image.cpp
+++ b/src/sp-image.cpp
@@ -1306,6 +1306,7 @@ static void sp_image_snappoints(SPItem const *item, SnapPointsIter p)
if (item->clip_ref->getObject()) {
//We are looking at a clipped image: do not return any snappoints, as these might be
//far far away from the visible part from the clipped image
+ //TODO Do return snappoints, but only when within visual bounding box
} else {
// The image has not been clipped: return its corners, which might be rotated for example
SPImage &image = *SP_IMAGE(item);