mightyscape-1.2/extensions/fablabchemnitz/inset_alignment/inset_alignment.inx

33 lines
1.5 KiB
XML

<?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"/>
</submenu>
</effects-menu>
</effect>
<script>
<command location="inx" interpreter="python">inset_alignment.py</command>
</script>
</inkscape-extension>