From 1c75594f5c37e86dec195ec1975254315ef180e9 Mon Sep 17 00:00:00 2001 From: Eric Greveson Date: Wed, 3 Jul 2013 23:00:06 +0100 Subject: Changed dbus interface to treat 'division' like other boolops, with a new return type for selection_combine to support this (array of string). This also fixes a bug with not setting the error flag when returning NULL from this method. Refactored some more selection verbs to allow use in no-GUI mode. (bzr r12387.1.5) --- src/extension/dbus/document-interface.xml | 32 ++++++++----------------------- 1 file changed, 8 insertions(+), 24 deletions(-) (limited to 'src/extension/dbus/document-interface.xml') diff --git a/src/extension/dbus/document-interface.xml b/src/extension/dbus/document-interface.xml index aeacfae44..7481c0893 100644 --- a/src/extension/dbus/document-interface.xml +++ b/src/extension/dbus/document-interface.xml @@ -21,7 +21,7 @@ - +c @@ -1348,36 +1348,20 @@ Type of combination. - - + - The new path created, if there is one. NULL otherwise. + List of the ids of resulting paths after applying the operation. Will erase all objects in the selection and replace with a single aggregate path. There are 5 types that can be passed in: - Union: The new shape is all of the other shapes put together, even if they don't overlap (paths can have multiple non-contiguous areas.) - Intersection: The new shape is composed of the area where ALL the objects in the selection overlap. If there is no area where all shapes overlap the new shape will be empty. - Difference: The area of the second shape is subtracted from the first, only works with two objects. - Exclusion: The new shape is the area(s) where none of the objects in the selection overlaped. Only works with two objects. - Division: the first object is split into multiple segments by the second object. Only works with two objects and if multiple paths result they are grouped and the group id is returned. - - - - - - - - - List of the ids of resulting paths. - - - - - Returns the result of cutting the bottom object by all other intersecting paths. - This may make many seperate layers. + 'union': The new shape is all of the other shapes put together, even if they don't overlap (paths can have multiple non-contiguous areas.) + 'intersection': The new shape is composed of the area where ALL the objects in the selection overlap. If there is no area where all shapes overlap the new shape will be empty. + 'difference': The area of the second shape is subtracted from the first, only works with two objects. + 'exclusion': The new shape is the area(s) where none of the objects in the selection overlaped. Only works with two objects. + 'division': the first object is split into multiple segments by the second object. Only works with two objects. -- cgit v1.2.3