From 1198855fabe7ba883482425271bbff3d1e12c37d Mon Sep 17 00:00:00 2001 From: Soren Berg Date: Thu, 23 Jul 2009 20:01:26 +0000 Subject: Added image import function. (bzr r8254.1.22) --- src/extension/dbus/document-interface.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (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 3ccae9556..c9cd8aa69 100644 --- a/src/extension/dbus/document-interface.xml +++ b/src/extension/dbus/document-interface.xml @@ -297,6 +297,35 @@ + + + + + The x coordinate to put the image at. + + + + + The y coordinate to put the image at. + + + + + The full path of the image you want. + + + + + + The name of the new image. + + + + + 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 selection_scale() can scale it relatively. + + + -- cgit v1.2.3