summaryrefslogtreecommitdiff
path: root/templates/break_apart.xml
blob: f65abb58ca348ba1fef5d8d4965a1551a7e7022f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Break Apart Fill Objects</name>
    <id>org.{{ id_inkstitch }}.break_apart</id>
    <param name="extension" type="string" gui-hidden="true">break_apart</param>

    <param name="notebook" type="notebook">
        <page name="options" gui-text="Options">
            <param name="method" type="optiongroup" gui-text="Method">
               <option value="0">Simple</option>
               <option value="1">Complex</option>
            </param>
        </page>
        <page name="info" gui-text="Help">
            <label>
                This extension will try to repair fill shapes and break them apart if necessary.
                Holes will be retained. Use on simple or overlapping shapes.
            </label>
            <spacer />
            <label>More information on our website</label>
            <label appearance="url">https://inkstitch.org/docs/fill-tools/#break-apart-fill-objects</label>
        </page>
    </param>

    <effect>
        <object-type>all</object-type>
        <effects-menu>
            <submenu name="{{ menu_inkstitch }}" translatable="no">
                <submenu name="Tools: Fill" />
            </submenu>
        </effects-menu>
    </effect>

    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>