%PDF- %PDF-
Direktori : /lib/python3/dist-packages/reportlab/lib/__pycache__/ |
Current File : //lib/python3/dist-packages/reportlab/lib/__pycache__/units.cpython-312.pyc |
� ��e� � �. � d Z dZdZedz Zedz ZdZd� Zy)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�6�4�<��a���f� �b� 0�0��R�S�6�4�<��a���f� �d� 2�2��R�S�6�4�<��a���f� �-��R�S�6�3�;�u�Q�s��V�}�T�1�1��R�S�6�4�<��a���f� �b� 0�0��R�S�6�6�>�%��#�2��-��"4�4��Q�x���=��7�!�;�<�<�s- �B4 �B4 �B4 �B4 �/B4 �B4 �) B4 �4CN)�__version__�__doc__r r r r r � � r �<module>r s6 �� �� �� �� �D�[���#�X����=r