File: //usr/share/inkscape/extensions/handles.pyc
�
��Yc @ si d Z d d l Z d d l Z d d l Z d e j f d � � YZ e d k re e � Z e j � n d S( s�
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.
i����Nt Handlesc B s e Z d � Z RS( c C s� x�| j j � D]�\ } } | j t j d d � k r t j | j d � � } g } d } d } x� | D]� \ } } | d k r� | j d | d g d | g d | d d !g d | d g g � n | d
k r| j d | d g d | g d | d g d | d g g � n | d k r$| } n | d k r9| } qh | d } qh Wt
| � d k r�i d
d 6d d 6d d 6d d 6d d 6d d 6d d 6} i t j | � d 6t j
| � d 6}
t j j | j � t j d d � |
� q�q q Wd S( Nt patht svgt dt Ct Mi t Li i����t Qt Zi t miters stroke-linejoins 1.0pxs stroke-widths 1.0s stroke-opacitys fill-opacitys #000000t stroket butts stroke-linecapt nonet fillt style( t selectedt iteritemst tagt inkext addNSt
simplepatht parsePatht gett Nonet extendt lent simplestylet formatStylet
formatPatht etreet
SubElementt getparent( t selft idt nodet pt at pent subPathStartt cmdt paramst st attribs( ( s) /usr/share/inkscape/extensions/handles.pyt effect s2 '$
&( t __name__t
__module__R+ ( ( ( s) /usr/share/inkscape/extensions/handles.pyR s t __main__( t __doc__R R R t EffectR R, t et affect( ( ( s) /usr/share/inkscape/extensions/handles.pyt <module> s
$