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-07-30 01:16:18 +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">
<item value="FIRST_SEL">First selected</item>
<item value="LAST_SEL">Last selected</item>
<item value="LARGEST">Largest</item>
</param>
<param name="relative_to_v" type="optiongroup" appearance="radio" gui-text="Vertical alignment">
<item value="TOP">Top</item>
<item value="CENTRE">Centre</item>
<item value="BOTTOM">Bottom</item>
</param>
<param name="relative_to_h" type="optiongroup" appearance="radio" gui-text="Horizontal alignment">
<item value="LEFT">Left</item>
<item value="MIDDLE">Middle</item>
<item value="RIGHT">Right</item>
</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>