| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/PIL/__pycache__/ |
Upload File : |
�
��e� � �D � d dl mZ d dlZddlmZ G d� d� ZdZdZd Zy)
� )�annotationsN� )�EpsImagePluginc �F � e Zd ZdZdd�Zdd�Zd� Zd� Zd� Zd� Z d � Z
dd
�Zy)�PSDrawz{
Sets up printing to the given file. If ``fp`` is omitted,
``sys.stdout.buffer`` or ``sys.stdout`` is assumed.
Nc � � |s# t j j }|| _ y || _ y # t $ r t j }Y || _ y w xY w�N)�sys�stdout�buffer�AttributeError�fp)�selfr s �,/usr/lib/python3/dist-packages/PIL/PSDraw.py�__init__zPSDraw.__init__! sI � ��
��Z�Z�&�&�� ���"���� "�
��Z�Z�����
�s �. �A�Ac � � | j j d� | j j t � | j j t � | j j d� i | _ y)z=Set up printing of a document. (Write PostScript DSC header.)sD %!PS-Adobe-3.0
save
/showpage { } def
%%EndComments
%%BeginDocument
s %%EndProlog
N)r �write� EDROFF_PS�VDI_PS�isofont)r �ids r �begin_documentzPSDraw.begin_document) sS � �
���
�
�
!�
�
���
�
�i� ����
�
�f�����
�
�&�'���� c � � | j j d� t | j d� r| j j � yy)z-Ends printing. (Write PostScript DSC footer.)s% %%EndDocument
restore showpage
%%End
�flushN)r r �hasattrr )r s r �end_documentzPSDraw.end_document9 s3 � ����
�
�A�B��4�7�7�G�$��G�G�M�M�O� %r c �� � t |d� }|| j vr/| j j d||fz � d| j |<