File: //usr/share/inkscape/extensions/jitternodes.pyo
�
��Yc @ s~ d Z d d l Z d d l Z d d l Z d d l Z d � Z d e j f d � � YZ e d k rz e � Z e j
� n d S( s
Copyright (C) 2012 Juan Pablo Carbajal ajuanpi-dev@gmail.com
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 3 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.
i����Nc C s� | \ } } | d k r? t j d | � } t j d | � } n'| d k r� t j d d � } t t j d � d � d } t t j d � d � d } | t j | | � } | t j | | � } n� | d k r1t j d d � } | t j t j d d � d | � } | t j t j d d � d | � } n5 | d k rft j | | � } t j | | � } n | | 7} | | 7} | | g S(
Nt Gaussiang t Paretog �g �?g 4@t Lognormg @t Uniform( t randomt gausst uniformt mint
paretovariatet matht copysignt lognormvariate( t .0t rxt ryt distt xt yt r1t r2t sign( ( s- /usr/share/inkscape/extensions/jitternodes.pyt randomize s( &)
t JitterNodesc B s e Z d � Z d � Z RS( c
C sA t j j | � | j j d � | j j d d d d d d d d d
d d d
�| j j d d d d d d d d d
d d d �| j j d d d d d d d d d
t d d �| j j d d d d d d d d d
t d d �| j j d d d d d d d d d
d d d �| j j d! d d d d d d"