| 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 : |
o
0�aR7 � @ s� d Z ddlZddlZddlmZmZ ddlZddlmZmZm Z m
Z
mZmZm
Z
mZ G dd� de�ZG dd� de�ZG d d
� d
e�Zdd� Zd
d� Zi g d�g d�gfdd�Zddd�ZG dd� dej�Zedkrpe� �� dS dS )z5
Simplifies SVG files in preparation for sif export.
� N)�PIPE�Popen)�load_svg�Group�PathElement�ShapeElement�Anchor�Switch�SvgDocumentElement� Transformc @ s e Zd ZdZdd� Zdd� ZdS )�MalformedSVGErrorzHRaised when the SVG document is invalid or contains unsupported featuresc C s
|| _ d S �N)�value)�selfr � r �0/usr/share/inkscape/extensions/synfig_prepare.py�__init__% s
zMalformedSVGError.__init__c C s dt | j� S )Na SVG document is invalid or contains unsupported features
Error message: %s
The SVG to Synfig converter is designed to handle SVG files that were created using Inkscape. Unsupported features are most likely to occur in SVG files written by other programs.
)�reprr �r r r r �__str__( s �zMalformedSVGError.__str__N)�__name__�
__module__�__qualname__�__doc__r r r r r r r "