| 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 : /usr/lib/python3/dist-packages/reportlab/pdfgen/__pycache__/ |
Upload File : |
�
�t�ai � �@ � d Z dZddlmZ ddlmZ G d� d� � ZdS )z3.3.0z�
PDFPathObject is an efficient way to draw paths on a Canvas. Do not
instantiate directly, obtain one from the Canvas instead.
Progress Reports:
8.83, 2000-01-13, gmcm: created from pdfgen.py
� )�pdfgeom)�fp_strc �n � e Zd ZdZdd�Zd� Zd� Zd� Zd� Zd� Z dd�Z
dd�Zd
� Zd� Z
dd�Zd� Zd� Zd� ZdS )�
PDFPathObjecta: Represents a graphic path. There are certain 'modes' to PDF
drawing, and making a separate object to expose Path operations
ensures they are completed with no run-time overhead. Ask
the Canvas for a PDFPath with getNewPathObject(); moveto/lineto/
curveto wherever you want; add whole shapes; and then add it back
into the canvas with one of the relevant operators.
Path objects are probably not long, so we pack onto one line
the code argument allows a canvas to get the operations appended directly so
avoiding the final getCode
Nc �@ � |g f|d u | _ | j | _ d S �N)�_code�_init_code_append�_code_append)�self�codes �=/usr/lib/python3/dist-packages/reportlab/pdfgen/pathobject.py�__init__zPDFPathObject.__init__ s'