summaryrefslogtreecommitdiffstats
path: root/src/sp-object.h
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2014-04-05 06:15:20 +0000
committerMartin Owens <doctormo@gmail.com>2014-04-05 06:15:20 +0000
commita303321365bf5ae640715eb9e033f6f01cb085c8 (patch)
tree1c2155bbd2ddd745de1a5e236deed30305d71ab3 /src/sp-object.h
parentfix cmake build errors for changes in 2geom (diff)
downloadinkscape-a303321365bf5ae640715eb9e033f6f01cb085c8.tar.gz
inkscape-a303321365bf5ae640715eb9e033f6f01cb085c8.zip
Allow command line options -i and -j to effect plain-svg output, this involves cropping and reducing.
(bzr r13268)
Diffstat (limited to 'src/sp-object.h')
-rw-r--r--src/sp-object.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sp-object.h b/src/sp-object.h
index cf18d4523..9ce5629e6 100644
--- a/src/sp-object.h
+++ b/src/sp-object.h
@@ -465,6 +465,11 @@ public:
}
/**
+ * Removes all children except for the given object, it's children and it's ancesstors.
+ */
+ void cropToObject(SPObject *except);
+
+ /**
* Connects a slot to be called when an object is deleted.
*
* This connects a slot to an object's internal delete signal, which is invoked when the object