diff options
| author | Matthew Petroff <matthew@mpetroff.net> | 2013-07-17 05:13:49 +0000 |
|---|---|---|
| committer | Matthew Petroff <matthew@mpetroff.net> | 2013-07-17 05:13:49 +0000 |
| commit | dd59aa3bb2cab030296a4622e5166f0e3f8d5445 (patch) | |
| tree | a86612c94d3ddce3edf696ea17fefb58b0accccf /src/extension/dbus/document-interface.xml | |
| parent | Temporary fixes/kludges. (diff) | |
| parent | Shape calculations. re-introduce grid of a smaller size. (http://article.gman... (diff) | |
| download | inkscape-dd59aa3bb2cab030296a4622e5166f0e3f8d5445.tar.gz inkscape-dd59aa3bb2cab030296a4622e5166f0e3f8d5445.zip | |
Merge from trunk.
(bzr r12380.1.17)
Diffstat (limited to 'src/extension/dbus/document-interface.xml')
| -rw-r--r-- | src/extension/dbus/document-interface.xml | 32 |
1 files changed, 8 insertions, 24 deletions
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 @@ <node name="/org/inkscape/document" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd" > - +c <interface name="org.inkscape.document"> <!-- MISC FUNCTIONS --> @@ -1348,36 +1348,20 @@ <doc:summary>Type of combination.</doc:summary> </doc:doc> </arg> - <arg type="s" name="newpath" direction="out" > - <annotation name="org.freedesktop.DBus.GLib.ReturnVal" value="error"/> + <arg type="as" name="newpaths" direction="out" > <doc:doc> - <doc:summary>The new path created, if there is one. NULL otherwise.</doc:summary> + <doc:summary>List of the ids of resulting paths after applying the operation.</doc:summary> </doc:doc> </arg> <doc:doc> <doc:description> <doc:para>Will erase all objects in the selection and replace with a single aggregate path.</doc:para> <doc:para>There are 5 types that can be passed in:</doc:para> - <doc:para>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.)</doc:para> - <doc:para>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.</doc:para> - <doc:para>Difference: The area of the second shape is subtracted from the first, only works with two objects.</doc:para> - <doc:para>Exclusion: The new shape is the area(s) where none of the objects in the selection overlaped. Only works with two objects.</doc:para> - <doc:para>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.</doc:para> - </doc:description> - </doc:doc> - </method> - - <method name="selection_divide"> - <arg type="as" name="pieces" direction="out" > - <!-- <annotation name="org.freedesktop.DBus.GLib.ReturnVal" value=""/> --> - <doc:doc> - <doc:summary>List of the ids of resulting paths.</doc:summary> - </doc:doc> - </arg> - <doc:doc> - <doc:description> - <doc:para>Returns the result of cutting the bottom object by all other intersecting paths.</doc:para> - <doc:para>This may make many seperate layers.</doc:para> + <doc:para>'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.)</doc:para> + <doc:para>'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.</doc:para> + <doc:para>'difference': The area of the second shape is subtracted from the first, only works with two objects.</doc:para> + <doc:para>'exclusion': The new shape is the area(s) where none of the objects in the selection overlaped. Only works with two objects.</doc:para> + <doc:para>'division': the first object is split into multiple segments by the second object. Only works with two objects.</doc:para> </doc:description> </doc:doc> </method> |
