diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:24:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:24:48 +0000 |
commit | cca66b9ec4e494c1d919bff0f71a820d8afab1fa (patch) | |
tree | 146f39ded1c938019e1ed42d30923c2ac9e86789 /share/extensions/interp.inx | |
parent | Initial commit. (diff) | |
download | inkscape-upstream/1.2.2.tar.xz inkscape-upstream/1.2.2.zip |
Adding upstream version 1.2.2.upstream/1.2.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | share/extensions/interp.inx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/share/extensions/interp.inx b/share/extensions/interp.inx new file mode 100644 index 0000000..9441a57 --- /dev/null +++ b/share/extensions/interp.inx @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> + <name>Interpolate</name> + <id>org.ekips.filter.interp</id> + <param name="exponent" type="float" min="0" max="100" gui-text="Exponent:">1.00</param> + <param name="steps" type="int" min="1" max="1000" gui-text="Interpolation steps:">5</param> + <param name="method" gui-text="Interpolation method:" type="optiongroup" appearance="radio" gui-description="The first option rediscretizes both paths before the interpolation with the other path's node positions. The second option removes extra nodes of the longer path."> + <option value="equalSubsegments" >Split paths into segments of equal lengths</option> + <option value="firstNodes">Discard extra nodes of longer path</option> + </param> + <param name="dup" type="bool" gui-text="Duplicate endpaths">true</param> + <param name="style" type="bool" gui-text="Interpolate style">false</param> + <param name="zsort" type="bool" gui-text="Use Z-order" gui-description="Workaround for reversed selection order in Live Preview cycles">false</param> + <effect> + <object-type>path</object-type> + <effects-menu> + <submenu name="Generate from Path"/> + </effects-menu> + </effect> + <script> + <command location="inx" interpreter="python">interp.py</command> + </script> +</inkscape-extension> |