Difference between revisions of "FindMatch"

From Inkscape Wiki
Jump to navigation Jump to search
(FindMatch Extension)
 
Line 3: Line 3:


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




----
----

Revision as of 21:02, 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>