summaryrefslogtreecommitdiffstats
path: root/share/extensions/template_generic.inx
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
commitcca66b9ec4e494c1d919bff0f71a820d8afab1fa (patch)
tree146f39ded1c938019e1ed42d30923c2ac9e86789 /share/extensions/template_generic.inx
parentInitial commit. (diff)
downloadinkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.tar.xz
inkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.zip
Adding upstream version 1.2.2.upstream/1.2.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/extensions/template_generic.inx')
-rw-r--r--share/extensions/template_generic.inx41
1 files changed, 41 insertions, 0 deletions
diff --git a/share/extensions/template_generic.inx b/share/extensions/template_generic.inx
new file mode 100644
index 0000000..3ce33ce
--- /dev/null
+++ b/share/extensions/template_generic.inx
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape">
+ <name>Generic Canvas</name>
+ <id>org.inkscape.template.generic_canvas</id>
+
+ <param name="width" gui-text="Custom Width:" type="float" min="1" max="15360">800</param>
+ <param name="height" gui-text="Custom Height:" type="float" min="1" max="8640">600</param>
+
+ <param name="unit" gui-text="SVG Unit:" type="optiongroup" appearance="combo">
+ <option translatable="no" value="px">px</option>
+ <option translatable="no" value="in">in</option>
+ <option translatable="no" value="mm">mm</option>
+ <option translatable="no" value="cm">cm</option>
+ <option translatable="no" value="pc">pc</option>
+ <option translatable="no" value="pt">pt</option>
+ </param>
+
+ <param name="background" gui-text="Canvas background:" type="optiongroup" appearance="combo">
+ <option value="normal">Normal</option>
+ <option value="black">Black Opaque</option>
+ <option value="gray">Gray Opaque</option>
+ <option value="white">White Opaque</option>
+ </param>
+
+ <param name="noborder" type="bool" gui-text="Hide border">false</param>
+
+ <effect needs-live-preview="false">
+ <object-type>all</object-type>
+ <effects-menu hidden="true" />
+ </effect>
+ <inkscape:templateinfo>
+ <inkscape:name>Generic canvas...</inkscape:name>
+ <inkscape:author>Tavmjong Bah</inkscape:author>
+ <inkscape:shortdesc>Generic canvas of chosen size.</inkscape:shortdesc>
+ <inkscape:date>2014-10-09</inkscape:date>
+ <inkscape:keywords>empty generic canvas</inkscape:keywords>
+ </inkscape:templateinfo>
+ <script>
+ <command location="inx" interpreter="python">template.py</command>
+ </script>
+</inkscape-extension>