Hacked By AnonymousFox

Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/svgwrite/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/svgwrite/__pycache__/masking.cpython-311.pyc

�

�܋f@��X�ddlmZddlmZGd�dee��ZGd�de��ZdS)�)�BaseElement)�	Transformc��eZdZdZdZdS)�ClipPathaE
    The clipping path restricts the region to which paint can be applied.
    Conceptually, any parts of the drawing that lie outside of the region
    bounded by the currently active clipping path are not drawn. A clipping
    path can be thought of as a mask wherein those pixels outside the clipping
    path are black with an alpha value of zero and those pixels inside the
    clipping path are white with an alpha value of one (with the possible
    exception of anti-aliasing along the edge of the silhouette).

    A **clipPath** element can contain **path** elements, **text** elements,
    basic shapes (such as **circle**) or a **use** element. If a **use**
    element is a child of a **clipPath** element, it must directly reference
    **path**, **text** or basic shape elements. Indirect references are an
    error.
    �clipPathN)�__name__�
__module__�__qualname__�__doc__�elementname���a/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/svgwrite/masking.pyrr
s���������K�K�Krrc�(��eZdZdZdZd�fd�	Z�xZS)�Maska
    In SVG, you can specify that any other graphics object or **g** element
    can be used as an alpha mask for compositing the current object into the
    background.

    A **mask** can contain any graphical elements or container elements such
    as a **g**.
    �maskNc���tt|��jdi|��|�|d|d<|d|d<|�|d|d<|d|d<dSdS)Nr�x��y�width�heightr
)�superr�__init__)�self�start�size�extra�	__class__s    �rrz
Mask.__init__+sr���"��d�D���"�+�+�U�+�+�+����a��D��I��a��D��I��� ��G�D��M�!�!�W�D��N�N�N��r)NN)rr	r
rrr�
__classcell__)rs@rrr sN����������K�%�%�%�%�%�%�%�%�%�%rrN)�
svgwrite.baser�svgwrite.mixinsrrrr
rr�<module>r#s���&�%�%�%�%�%�%�%�%�%�%�%������{�I����&%�%�%�%�%�;�%�%�%�%�%r

Hacked By AnonymousFox1.0, Coded By AnonymousFox