File: //usr/share/inkscape/extensions/param_curves.pyc
�
��Yc @ s� d Z d d l Z d d l Z d d l Z d d l Td d l Td d e e e d � Z d e j f d � � YZ
e d k r� e
� Z e j
� n d S(
s�
Copyright (C) 2009 Michel Chatelain.
Copyright (C) 2007 Tavmjong Bah, tavmjong@free.fr
Copyright (C) 2006 Georg Wiora, xorx@quarkbox.de
Copyright (C) 2006 Johan Engelen, johan@shouraizou.nl
Copyright (C) 2005 Aaron Spike, aaron@ekips.org
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Changes:
* This program is derived by Michel Chatelain from funcplot.py. His changes are in the Public Domain.
* Michel Chatelain, 17-18 janvier 2009, a partir de funcplot.py
* 20 janvier 2009 : adaptation a la version 0.46 a partir de la nouvelle version de funcplot.py
i����N( t *s cos(3*t)s sin(5*t)c ( s� |
t k r+ d t | } d t | } n | | � � | � � � � f d � } | | � � |
� � � � f d � } | r� � � k r� | d � } � � | | � � | | | � } q� | d � } � � | |
� � |
| | � } n | d k r!t d | j d � � } n | d k rIt d | j d � � } n | | | d } | d } | d
} g } | r%� d k r�| d k r�| j d | | d � g g � | j d | d g g � n � d k r%| d k r%| j d
| d � |
g g � | j d d | g g � q%n | | � } | | � } | | } | | � } | | � } | | | } | | | } | j d
| | � | | � g g � x
t t | d � � D]� }! |! d | | } | | }"