home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / Inkscape / Inkscape-0.48.2-1-win32.exe / share / extensions / triangle.inx < prev    next >
Extensible Markup Language  |  2011-07-08  |  2KB  |  29 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
  3.     <_name>Triangle</_name>
  4.     <id>math.triangle</id>
  5.     <dependency type="executable" location="extensions">triangle.py</dependency>
  6.     <dependency type="executable" location="extensions">inkex.py</dependency>
  7.     <param name="s_a"       type="float"   min="0.01" max="10000" _gui-text="Side Length a / px">100.0</param>
  8.     <param name="s_b"       type="float"   min="0.01" max="10000" _gui-text="Side Length b / px">100.0</param>
  9.     <param name="s_c"       type="float"   min="0.01" max="10000" _gui-text="Side Length c / px">100.0</param>
  10.     <param name="a_a"       type="float"   min="0"    max="180"   _gui-text="Angle a / deg">60</param>
  11.     <param name="a_b"       type="float"   min="0"    max="180"   _gui-text="Angle b / deg">30</param>
  12.     <param name="a_c"       type="float"   min="0"    max="180"   _gui-text="Angle c / deg">90</param>
  13.     <param name="mode"      type="optiongroup"                    _gui-text="Mode"  appearance="minimal">
  14.         <_option value="3_sides">From Three Sides</_option>
  15.         <_option value="s_ab_a_c">From Sides a, b and Angle c</_option>
  16.         <_option value="s_ab_a_a">From Sides a, b and Angle a</_option>
  17.         <_option value="s_a_a_ab">From Side a and Angles a, b</_option>
  18.         <_option value="s_c_a_ab">From Side c and Angles a, b</_option></param>
  19.     <effect>
  20.         <object-type>all</object-type>
  21.                 <effects-menu>
  22.                     <submenu _name="Render"/>
  23.                 </effects-menu>
  24.     </effect>
  25.     <script>
  26.         <command reldir="extensions" interpreter="python">triangle.py</command>
  27.     </script>
  28. </inkscape-extension>
  29.