HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__/pattern.cpython-311.pyc
�

^[>�ebP�	�Z�ddlmZddlmZmZmZmZddlmZGd�deeeee��Z	dS)�)�BaseElement)�XLink�ViewBox�	Transform�Presentation)�	is_stringc�4��eZdZdZdZdZd�fd�	Zd	d�Z�xZS)
�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.
    �pattern�patternTransformNc���tt|��jdi|��|�|d|d<|d|d<|�|d|d<|d|d<|�Lt|��r|�|��n'|�|�����|jr'|j�|j	|j
��dSdS)	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�width�height�)�superr
�__init__r�set_href�get_iri�debug�	validator�check_all_svg_attribute_values�elementname�attribs)�self�insert�size�inherit�extra�	__class__s     ��a/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/svgwrite/pattern.pyrzPattern.__init__s����	&��g�t���%�.�.��.�.�.����q�	�D��I��q�	�D��I��� ��G�D��M�!�!�W�D��N�����!�!�
1��
�
�g�&�&�&�&��
�
�g�o�o�/�/�0�0�0��:�	Z��N�9�9�$�:J�D�L�Y�Y�Y�Y�Y�	Z�	Z��nonec�4�|����d|��S)z( Returns the <FuncIRI> of the gradient. � )�get_funciri)r�defaults  r#�get_paint_serverzPattern.get_paint_server0s!���*�*�,�,�,�,�g�g�6�6r$)NNN)r%)	�__name__�
__module__�__qualname__�__doc__r�
transformnamerr*�
__classcell__)r"s@r#r
r

sm����������K�&�M�Z�Z�Z�Z�Z�Z�.7�7�7�7�7�7�7�7r$r
N)
�
svgwrite.baser�svgwrite.mixinsrrrr�svgwrite.utilsrr
rr$r#�<module>r4s���&�%�%�%�%�%�C�C�C�C�C�C�C�C�C�C�C�C�$�$�$�$�$�$�%7�%7�%7�%7�%7�k�5�'�9�l�%7�%7�%7�%7�%7r$