This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz/inset_alignment/inset_alignment.inx

33 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2021-07-23 02:36:56 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>Inset Alignment</name>
<id>fablabchemnitz.de.inset_alignment</id>
<param name="anchor_node" type="optiongroup" appearance="combo" gui-text="Inset relative to">
<option value="FIRST_SEL">First selected</option>
<option value="LAST_SEL">Last selected</option>
<option value="LARGEST">Largest</option>
</param>
<param name="relative_to_v" type="optiongroup" appearance="radio" gui-text="Vertical alignment">
<option value="TOP">Top</option>
<option value="CENTRE">Centre</option>
<option value="BOTTOM">Bottom</option>
</param>
<param name="relative_to_h" type="optiongroup" appearance="radio" gui-text="Horizontal alignment">
<option value="LEFT">Left</option>
<option value="MIDDLE">Middle</option>
<option value="RIGHT">Right</option>
</param>
<param name="inset_x" type="float" precision="1" min="-1000" max="1000" gui-text="Horizontal inset (mm)">10</param>
<param name="inset_y" type="float" precision="1" min="-1000" max="1000" gui-text="Vertical inset (mm)">10</param>
<effect>
<object-type>all</object-type>
<effects-menu>
<submenu name="FabLab Chemnitz">
<submenu name="Transformations"/>
2021-07-23 02:36:56 +02:00
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">inset_alignment.py</command>
</script>
</inkscape-extension>