X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fextension%2Fdbus%2Fdocument-interface.xml;h=8b0252765f197f4f153d941c087daa164cbd5f1e;hb=989fc06869090cc6b38cb54c4f3194009addd260;hp=ba8c7e2b316bdcb56038b72c586d7424c9516c08;hpb=c596be6d145df956e779f427dde5aabc8559dd6c;p=inkscape.git diff --git a/src/extension/dbus/document-interface.xml b/src/extension/dbus/document-interface.xml index ba8c7e2b3..8b0252765 100644 --- a/src/extension/dbus/document-interface.xml +++ b/src/extension/dbus/document-interface.xml @@ -1,4 +1,23 @@ + + + @@ -276,20 +295,53 @@ + + + The x coordinate to put the text at. + + + + + The y coordinate to put the text at. + + The text you want. + + + This method creates some text in the current layer. + + + + + + + + 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 text object. + The name of the new image. - This method creates some text in the current layer. + 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. @@ -556,6 +608,27 @@ After doing this you will no longer be able to modify the shape using shape specific attributes (cx, radius etc.) except transform Required for certain functions that work on paths (not yet present in this API.) + Paths + + + + + + + The id of an object. + + + + + + The path of the object. NULL if the object has no path. + + + + + Get the path value of an object. Equivilent to calling get_attribte() with argument "d". Will not turn object into a path if it is not already. + + Paths @@ -640,6 +713,40 @@ Style Strings + + + + + Any object, or 'document' to apply to document style. + + + + + The red component. + + + + + The green component. + + + + + The blue component. + + + + + True to change fill color, false for stroke color. + + + + + Modifies the fill or stroke color of an object (or the document style) based on RGB values. + Red green and blue must be between 0-255 inclusive. + + + @@ -667,7 +774,7 @@ A object that contains a path ("d") attribute. - + An array of points. @@ -720,7 +827,16 @@ - + + + + Marks the document as unmodified/saved. + Will prevent save confirmation on close if called at end of script. + + + + @@ -798,8 +915,8 @@ - - + + List of the ids of currently selected objects. @@ -1062,7 +1179,7 @@ - + Center of the selection. @@ -1110,6 +1227,21 @@ + + + + + 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. + + + +