summaryrefslogtreecommitdiffstats
path: root/src/extension/dbus/document-interface.xml
diff options
context:
space:
mode:
authorSoren Berg <glimmer07@gmail.com>2009-07-23 20:01:26 +0000
committerglimmer07 <glimmer07@users.sourceforge.net>2009-07-23 20:01:26 +0000
commit1198855fabe7ba883482425271bbff3d1e12c37d (patch)
treef49e2aecbac0801c61acc6ad8f82b653f19da8a6 /src/extension/dbus/document-interface.xml
parentAdded set_color function. (diff)
downloadinkscape-1198855fabe7ba883482425271bbff3d1e12c37d.tar.gz
inkscape-1198855fabe7ba883482425271bbff3d1e12c37d.zip
Added image import function.
(bzr r8254.1.22)
Diffstat (limited to 'src/extension/dbus/document-interface.xml')
-rw-r--r--src/extension/dbus/document-interface.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/extension/dbus/document-interface.xml b/src/extension/dbus/document-interface.xml
index 3ccae9556..c9cd8aa69 100644
--- a/src/extension/dbus/document-interface.xml
+++ b/src/extension/dbus/document-interface.xml
@@ -297,6 +297,35 @@
</doc:description>
</doc:doc>
</method>
+
+ <method name="image">
+ <arg type="i" name="x" direction="in" >
+ <doc:doc>
+ <doc:summary>The x coordinate to put the image at.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg type="i" name="y" direction="in" >
+ <doc:doc>
+ <doc:summary>The y coordinate to put the image at.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg type="s" name="text" direction="in" >
+ <doc:doc>
+ <doc:summary>The full path of the image you want.</doc:summary>
+ </doc:doc>
+ </arg>
+ <arg type="s" name="object_name" direction="out" >
+ <annotation name="org.freedesktop.DBus.GLib.ReturnVal" value="error"/>
+ <doc:doc>
+ <doc:summary>The name of the new image.</doc:summary>
+ </doc:doc>
+ </arg>
+ <doc:doc>
+ <doc:description>
+ <doc:para>This method imports a non-vector image (such as a jpeg, png, etc.) and places it at the given coordinates. The resulting shape has no style or path but can be treated like a rectangle. With and height can be set explicitly (will deform image) or transform strings or <doc:ref type="method" to="document.selection_scale">selection_scale()</doc:ref> can scale it relatively.</doc:para>
+ </doc:description>
+ </doc:doc>
+ </method>
<method name="node">
<arg type="s" name="svgtype" direction="in" >