Code

made it callable by other extensions. the workaround is sorta ugly, but it should...
[inkscape.git] / share / extensions / whirl.inx
1 <inkscape-extension>
2     <_name>Whirl</_name>
3     <id>org.ekips.filter.whirl</id>
4         <dependency type="executable" location="extensions">whirl.py</dependency>
5         <dependency type="executable" location="extensions">inkex.py</dependency>
6         <param name="centerx" type="float" min="0.0" max="10000.0" _gui-text="Center X">0.0</param>
7         <param name="centery" type="float" min="0.0" max="10000.0" _gui-text="Center Y">0.0</param>
8         <param name="whirl" type="float" min="0.00" max="1000.00" _gui-text="Amount of whirl">5.0</param>
9         <param name="rotation" type="boolean" _gui-text="Rotation is clockwise">true</param>
10     <effect>
11                 <object-type>path</object-type>
12                 <effects-menu>
13                     <submenu _name="Modify Path"/>
14                 </effects-menu>
15     </effect>
16     <script>
17         <command reldir="extensions" interpreter="python">whirl.py</command>
18     </script>
19 </inkscape-extension>