$12 GRAYBYTE WORDPRESS FILE MANAGER $58

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.217.100
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__/

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__//__init__.cpython-311.pyc
�

�|oi�	���dZddlmZmZeZdZdZdZdZddlm	Z	dd	l
mZGd
�de��Z
e
d��Ze
d
��Ze
d��Ze
d��Ze
d��Ze
d��Ze
d��Ze
d��Ze
d��Ze
d��Ze
d��Ze
d��Ze
d��Ze
d��ZdS)ar
A Python library to create SVG drawings.

SVG is a language for describing two-dimensional graphics in XML. SVG allows
for three types of graphic objects: vector graphic shapes (e.g., paths
consisting of straight lines and curves), images and text. Graphical objects
can be grouped, styled, transformed and composed into previously rendered
objects. The feature set includes nested transformations, clipping paths,
alpha masks, filter effects and template objects.

SVG drawings can be interactive and dynamic. Animations can be defined and
triggered either declarative (i.e., by embedding SVG animation elements in
SVG content) or via scripting.

.. seealso:: http://www.w3.org/TR/SVG11/intro.html#AboutSVG

a simple example::

    import svgwrite

    dwg = svgwrite.Drawing('test.svg', profile='tiny')
    dwg.add(dwg.line((0, 0), (10, 0), stroke=svgwrite.rgb(10, 10, 16, '%')))
    dwg.add(dwg.text('Test', insert=(0, 0.2)))
    dwg.save()

SVG Version
-----------

You can only create two types of SVG drawings:

* *SVG 1.2 Tiny Profile*, use Drawing(profile= ``'tiny'``)
* *SVG 1.1 Full Profile*, use Drawing(profile= ``'full'``)

�)�__version__�versionzmozman <[email protected]>zManfred Moitziz[email protected]	2014-2019�)�Drawing)�rgbc�&�eZdZdZdd�Zd�Zd�ZdS)�Unitz Add units to values.
    �cmc��||_dS)zL Unit constructor

        :param str unit: specify the unit string
        N��_unit)�self�units  �c/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/svgwrite/__init__.py�__init__z
Unit.__init__<s��
��
�
�
�c��|�|j��S)z2 add unit-string to 'other'. (e.g. 5*cm => '5cm') r)r�others  r�__rmul__z
Unit.__rmul__Cs�����
�
�+�+rc�F��d��fd�|D����S)z~ Add unit-strings to all arguments.

        :param args: list of values
            e.g.: cm(1,2,3) => '1cm,2cm,3cm'
        �,c�&��g|]
}|��j����S�r)�.0�argrs  �r�
<listcomp>z!Unit.__call__.<locals>.<listcomp>Ms$���D�D�D��3�3��
�
�3�D�D�Dr)�join)r�argss` r�__call__z
Unit.__call__Gs,����x�x�D�D�D�D�t�D�D�D�E�E�ErN)r
)�__name__�
__module__�__qualname__�__doc__rrrrrrr	r	9sU������������,�,�,�F�F�F�F�Frr	r
�mm�em�ex�px�in�pc�pt�%�deg�grad�rad�Hz�kHzN)r#rr�VERSION�
__author__�AUTHOR_NAME�AUTHOR_EMAIL�CYEAR�svgwrite.drawingr�svgwrite.utilsr�objectr	r
r$r%r&r'�inchr)r*�percentr,r-r.r/r0rrr�<module>r;sW��!�!�D*�)�)�)�)�)�)�)�
��
$�
�������%�$�$�$�$�$�������F�F�F�F�F�6�F�F�F�.
�T�$�Z�Z��	�T�$�Z�Z��	�T�$�Z�Z��	�T�$�Z�Z��	�T�$�Z�Z���t�D�z�z��	�T�$�Z�Z��	�T�$�Z�Z��
�$�s�)�)��
�d�5�k�k���t�F�|�|��
�d�5�k�k��	�T�$�Z�Z��
�d�5�k�k���r


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
11 Feb 2026 9.30 AM
root / root
0755
__init__.cpython-311.pyc
3.625 KB
20 Jan 2026 1.01 PM
root / root
0644
animate.cpython-311.pyc
8.181 KB
20 Jan 2026 1.01 PM
root / root
0644
base.cpython-311.pyc
12.568 KB
20 Jan 2026 1.01 PM
root / root
0644
container.cpython-311.pyc
14.571 KB
20 Jan 2026 1.01 PM
root / root
0644
drawing.cpython-311.pyc
6.39 KB
20 Jan 2026 1.01 PM
root / root
0644
elementfactory.cpython-311.pyc
3.637 KB
20 Jan 2026 1.01 PM
root / root
0644
etree.cpython-311.pyc
1.566 KB
20 Jan 2026 1.01 PM
root / root
0644
filters.cpython-311.pyc
15.286 KB
20 Jan 2026 1.01 PM
root / root
0644
gradients.cpython-311.pyc
6.91 KB
20 Jan 2026 1.01 PM
root / root
0644
image.cpython-311.pyc
3.242 KB
20 Jan 2026 1.01 PM
root / root
0644
masking.cpython-311.pyc
2.477 KB
20 Jan 2026 1.01 PM
root / root
0644
mixins.cpython-311.pyc
13.727 KB
20 Jan 2026 1.01 PM
root / root
0644
params.cpython-311.pyc
2.948 KB
20 Jan 2026 1.01 PM
root / root
0644
path.cpython-311.pyc
4.426 KB
20 Jan 2026 1.01 PM
root / root
0644
pattern.cpython-311.pyc
2.76 KB
20 Jan 2026 1.01 PM
root / root
0644
shapes.cpython-311.pyc
7.94 KB
20 Jan 2026 1.01 PM
root / root
0644
solidcolor.cpython-311.pyc
2.413 KB
20 Jan 2026 1.01 PM
root / root
0644
text.cpython-311.pyc
11.47 KB
20 Jan 2026 1.01 PM
root / root
0644
utils.cpython-311.pyc
10.72 KB
20 Jan 2026 1.01 PM
root / root
0644
validator2.cpython-311.pyc
8.764 KB
20 Jan 2026 1.01 PM
root / root
0644
version.cpython-311.pyc
0.267 KB
20 Jan 2026 1.01 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF