HEX
Server: Apache
System: Linux opal14.opalstack.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: curbgloabal_opal (1234)
PHP: 8.1.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/inkscape/extensions/rubberstretch.pyo
�
��Yc@s�dZddlZddlZddlZddlZddlZddlZddlZdejfd��YZ	e
dkr�e	�Zej�ndS(s
Copyright (C) 2006 Jean-Francois Barraud, barraud@math.univ-lille1.fr

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.
barraud@math.univ-lille1.fr

i����Nt
RubberStretchcBseZd�Zdd�ZRS(cCsjtjj|�|jjddddddddd	d
�|jjdddddddd
d	d
�dS(Ns-rs--ratiotactiontstorettypetfloattdesttratiotdefaultg�?s-cs--curvetcurve(tpathmodifiertDiffeot__init__tOptionParsert
add_option(tself((s//usr/share/inkscape/extensions/rubberstretch.pyRs
cCs�xF|D]>}|dc|d8<|dc|d8<|dcd9<qW|dcd9<|jjd}t|jjdd�}|jd|jdd}|jd|jdd}|jd|jdd|jd|jdd}}	|d||d|}
}d||
|d|
|dd|}d|||	d||	dd|}
||
|
|d<||||d<x�|D]�}|\}}|
}|
d|||	|	d|}|d||
||d|||}d|}|||||d<|||||d<q�WxF|D]>}|dc|d7<|dc|d7<|dcd9<q:W|dcd9<dS(Niii����idg�G�z��?ii(toptionsRtminRtbbox(Rtbpttvectstvtatbtx0ty0twthtxtytsxtsytdxtdytdXdxtdXdytdYdxtdYdy((s//usr/share/inkscape/extensions/rubberstretch.pytapplyDiffeo#s8
9++
#,

((t__name__t
__module__RR%(((s//usr/share/inkscape/extensions/rubberstretch.pyRs		t__main__(
t__doc__tinkextcubicsuperpathtbezmiscR	tcopytmathtreR
RR&tetaffect(((s//usr/share/inkscape/extensions/rubberstretch.pyt<module>s0$3