File: long_shadow.inx

package info (click to toggle)
inkscape 1.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 402,900 kB
  • sloc: cpp: 547,256; python: 72,677; ansic: 63,355; javascript: 3,864; xml: 2,345; sh: 1,667; makefile: 824; perl: 614
file content (18 lines) | stat: -rw-r--r-- 812 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Long Shadow</name>
    <id>effect.long_shadow</id>
    <param name="magnitude" type="float" min="0" max="1000" gui-text="Length (document units):">100</param>
    <param name="angle" type="float" min="-360.0" max="360.0" gui-text="Angle:">45</param>
    <param name="fillwithstroke" type="bool" 
           gui-text="Fill shadow with stroke color of selected object(s) if set">false</param>
    <effect>
        <object-type>path</object-type>
        <effects-menu>
            <submenu name="Generate from Path"/>
        </effects-menu>
    </effect>
    <script>
        <command location="inx" interpreter="python">long_shadow.py</command>
    </script>
</inkscape-extension>