403Webshell
Server IP : 192.158.238.246  /  Your IP : 18.217.162.18
Web Server : LiteSpeed
System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User : jenniferflocom ( 1321)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python37/lib/python3.7/site-packages/svgwrite/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python37/lib/python3.7/site-packages/svgwrite/__pycache__/pattern.cpython-37.opt-1.pyc
B

��]��@sLddlmZddlmZmZmZmZddlmZGdd�deeeee�Z	dS)�)�BaseElement)�XLink�ViewBox�	Transform�Presentation)�	is_stringcs4eZdZdZdZdZd
�fdd�	Zddd	�Z�ZS)�Patterna�
    A pattern is used to fill or stroke an object using a pre-defined graphic
    object which can be replicated ("tiled") at fixed intervals in x and y to
    cover the areas to be painted. Patterns are defined using a `pattern` element
    and then referenced by properties `fill` and `stroke` on a given graphics
    element to indicate that the given element shall be filled or stroked with
    the referenced pattern.
    �patternZpatternTransformNcs�tt|�jf|�|dk	r2|d|d<|d|d<|dk	rR|d|d<|d|d<|dk	r|t|�rn|�|�n|�|���|jr�|j�|j	|j
�dS)z�
        :param 2-tuple insert: base point of the pattern (**x**, **y**)
        :param 2-tuple size: size of the pattern (**width**, **height**)
        :param inherit: pattern inherits properties from `inherit` see: **xlink:href**

        Nr�x��y�widthZheight)�superr�__init__rZset_hrefZget_iri�debugZ	validatorZcheck_all_svg_attribute_values�elementnameZattribs)�self�insert�sizeZinheritZextra)�	__class__��A/opt/alt/python37/lib/python3.7/site-packages/svgwrite/pattern.pyrszPattern.__init__�nonecCsd|��|fS)z( Returns the <FuncIRI> of the gradient. z%s %s)Zget_funciri)r�defaultrrr�get_paint_server0szPattern.get_paint_server)NNN)r)	�__name__�
__module__�__qualname__�__doc__rZ
transformnamerr�
__classcell__rr)rrr
s
rN)
Z
svgwrite.baserZsvgwrite.mixinsrrrrZsvgwrite.utilsrrrrrr�<module>	s

Youez - 2016 - github.com/yon3zu
LinuXploit