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_InsetAlignment.inx
2020-08-07 20:19:46 +02:00

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