diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:50:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 11:50:49 +0000 |
commit | c853ffb5b2f75f5a889ed2e3ef89b818a736e87a (patch) | |
tree | 7d13a0883bb7936b84d6ecdd7bc332b41ed04bee /share/extensions/voronoi_fill.inx | |
parent | Initial commit. (diff) | |
download | inkscape-upstream.tar.xz inkscape-upstream.zip |
Adding upstream version 1.3+ds.upstream/1.3+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/extensions/voronoi_fill.inx')
-rw-r--r-- | share/extensions/voronoi_fill.inx | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/share/extensions/voronoi_fill.inx b/share/extensions/voronoi_fill.inx new file mode 100644 index 0000000..f48ef05 --- /dev/null +++ b/share/extensions/voronoi_fill.inx @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension"> + <name>Voronoi Pattern Fill</name> + <id>effect.voronoi_fill</id> + <dependency type="file" location="inx">voronoi.py</dependency> + <param name="tab" type="notebook"> + <page name="Options" gui-text="Options"> + <param name="size" type="int" min="2" max="9999" gui-text="Average size of cell (px):">10</param> + <param name="border" type="int" min="-200" max="9999" gui-text="Size of Border (px):">0</param> + </page> + <page name="Help" gui-text="Help"> + <label xml:space="preserve">Generate a random pattern of Voronoi cells. The pattern will be accessible in the Fill and Stroke dialog. You must select an object or a group. + +If border is zero, the pattern will be discontinuous at the edges. Use a positive border, preferably greater than the cell size, to produce a smooth join of the pattern at the edges. Use a negative border to reduce the size of the pattern and get an empty border.</label> + </page> + </param> + <effect> + <object-type>all</object-type> + <effects-menu> + <submenu name="Styles"/> + </effects-menu> + </effect> + <script> + <command location="inx" interpreter="python">voronoi_fill.py</command> + </script> +</inkscape-extension> |