Difference between revisions of "FindMatch"

From Inkscape Wiki
Jump to navigation Jump to search
Line 3: Line 3:


----
----
<source >
<source>
 
 
<inkscape-extension>
<inkscape-extension>
   <_name>Find Match</_name>
   <_name>Find Match</_name>
Line 21: Line 23:
     <command reldir="extensions" interpreter="python">findmatch.py</command>
     <command reldir="extensions" interpreter="python">findmatch.py</command>
   </script>
   </script>
</inkscape-extension></source>
</inkscape-extension>
 
</source>




----
----

Revision as of 21:03, 17 December 2008

The Find Match inx file



<inkscape-extension>
  <_name>Find Match</_name>
  <id>org.find_match</id>
  <dependency type="executable" location="extensions">findmatch.py</dependency>
  <dependency type="executable" location="extensions">inkex.py</dependency>
  <param name="foundLayer" type="string" _gui-text="Name of layer to put found objects on?">Found</param>
  <param name="threshold" type="float" min="0.0" max="1.0" _gui-text="Correlation Threshold">0.8</param>
  <param name="matchcolor"    type="boolean" _gui-text="Colors should match">true</param>
  <effect>
    <object-type>all</object-type>
    <effects-menu>
       <submenu _name="Examples"/>
    </effects-menu>
  </effect>
  <script>
    <command reldir="extensions" interpreter="python">findmatch.py</command>
  </script>
</inkscape-extension>