| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 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/lib/__pycache__/ |
Upload File : |
�
{�
g� � �0 � d Z dZdZedz Zedz ZdZd� ZdS )z3.3.0z�Defines inch, cm, mm etc as multiples of a point
You can now in user-friendly units by doing::
from reportlab.lib.units import inch
r = Rect(0, 0, 3 * inch, 6 * inch)
g R@gR���Q@g�������?g (@c �\ � | dd� dk rt | dd� � � t z S | dd� dk rt | dd� � � t z S | dd� dk rt | dd� � � S | dd� dk rt | dd� � � t z S | dd� dk rt | dd� � � t z S | d d� d
k rt | dd � � � t z S t | � � S # t d| z � � �xY w)zconvert a string to a length���N�cm�in�pt����i�mm����picazCan't convert '%s' to length)�floatr �inchr r �
ValueError)�ss �5/usr/lib/python3/dist-packages/reportlab/lib/units.py�toLengthr s � � =��R�S�S�6�4�<�<��a����f�
�
�b� 0�0��R�S�S�6�4�<�<��a����f�
�
�d� 2�2��R�S�S�6�4�<�<��a����f�
�
�-��R�S�S�6�3�;�;�u�Q�s��s�V�}�}�T�1�1��R�S�S�6�4�<�<��a����f�
�
�b� 0�0��R�S�S�6�6�>�>�%��#�2�#��-�-��"4�4��Q�x�x���=��7�!�;�<�<�<���s. �,D �,D �$D �,D �.,D �,D �D �D+N)�__version__�__doc__r
r r r r � � r �<module>r sJ ��
�� �� �� �D�[���#�X����=� =� =� =� =r