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 / param_curves.inx < prev    next >
Extensible Markup Language  |  2011-07-08  |  3KB  |  51 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
  3.   <_name>Parametric Curves</_name>
  4.   <id>org.inkscape.effect.param_curves</id>
  5.   <dependency type="executable" location="extensions">param_curves.py</dependency>
  6.   <dependency type="executable" location="extensions">inkex.py</dependency>
  7.   <param name="tab" type="notebook">
  8.     <page name="sampling"  _gui-text="Range and Sampling">
  9.       <param name="t_start"  type="float" min="-1000.0" max="1000.0" _gui-text="Start t-value">0.0</param>
  10.       <param name="t_end"    type="float" min="-1000.0" max="1000.0" _gui-text="End t-value">1.0</param>
  11.       <param name="times2pi" type="boolean"                          _gui-text="Multiply t-range by 2*pi">true</param>
  12.       <param name="xleft"    type="float" min="-1000.0" max="1000.0" _gui-text="x-value of rectangle's left">-1.0</param>
  13.       <param name="xright"   type="float" min="-1000.0" max="1000.0" _gui-text="x-value of rectangle's right">1.0</param>
  14.       <param name="ybottom"  type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's bottom">-1.0</param>
  15.       <param name="ytop"     type="float" min="-1000.0" max="1000.0" _gui-text="y-value of rectangle's top">1.0</param>
  16.       <param name="samples"  type="int"   min="2"       max="1000"   _gui-text="Samples">30</param>
  17.       <param name="isoscale" type="boolean" _gui-text="Isotropic scaling (uses smallest: width/xrange or height/yrange)">false</param>
  18.     </page>
  19.     <page name="use" _gui-text="Use">
  20.       <_param name="funcplotuse" type="description" xml:space="preserve">Select a rectangle before calling the extension,
  21. it will determine X and Y scales.
  22.  
  23. First derivatives are always determined numerically.</_param>
  24.     </page>
  25.     <page name="desc" _gui-text="Functions">
  26.       <_param name="pythonfunctions" type="description" xml:space="preserve">Standard Python math functions are available:
  27.  
  28. ceil(x); fabs(x); floor(x); fmod(x,y); frexp(x); ldexp(x,i); 
  29. modf(x); exp(x); log(x [, base]); log10(x); pow(x,y); sqrt(x); 
  30. acos(x); asin(x); atan(x); atan2(y,x); hypot(x,y); 
  31. cos(x); sin(x); tan(x); degrees(x); radians(x); 
  32. cosh(x); sinh(x); tanh(x).
  33.  
  34. The constants pi and e are also available.</_param>
  35.     </page>
  36.   </param>
  37.   <param name="fofx"     type="string"  _gui-text="x-Function">cos(3*t)</param>
  38.   <param name="fofy"     type="string"  _gui-text="y-Function">sin(5*t)</param>
  39.   <param name="remove"   type="boolean" _gui-text="Remove rectangle">true</param>
  40.   <param name="drawaxis" type="boolean" _gui-text="Draw Axes">false</param>
  41.   <effect>
  42.     <object-type>rect</object-type>
  43.     <effects-menu>
  44.             <submenu _name="Render"/>
  45.     </effects-menu>
  46.   </effect>
  47.   <script>
  48.     <command reldir="extensions" interpreter="python">param_curves.py</command>
  49.   </script>
  50. </inkscape-extension>
  51.