| Server IP : 146.190.157.162 / Your IP : 216.73.217.127 Web Server : Apache System : Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64 User : businessweek ( 639) PHP Version : 8.2.10-2ubuntu2.2 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_signal,pcntl_signal_dispatch,pcntl_getpriority,pcntl_setpriority,dl,putenv,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/PIL/__pycache__/ |
Upload File : |
�
D#�d} � �@ � d dl Z ddlmZ G d� d� � ZdZdZdZdS ) � N� )�EpsImagePluginc �H � e Zd ZdZdd�Zdd�Zd� Zd� Zd� Zd� Z d � Z
dd
�ZdS )�PSDrawz{
Sets up printing to the given file. If ``fp`` is omitted,
``sys.stdout.buffer`` or ``sys.stdout`` is assumed.
Nc �v � |s/ t j j }n# t $ r t j }Y nw xY w|| _ d S �N)�sys�stdout�buffer�AttributeError�fp)�selfr
s �,/usr/lib/python3/dist-packages/PIL/PSDraw.py�__init__zPSDraw.__init__ sL � �� �
��Z�&����!�
�
�
��Z����
��������s � �/�/c � � | j � d� � | j � t � � | j � t � � | j � d� � i | _ dS )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( sk � �
��
�
�
!�
�
�
�
��
�
�i� � � ���
�
�f������
�
�&�'�'�'������ c � � | j � d� � t | j d� � r| j � � � dS dS )z-Ends printing. (Write PostScript DSC footer.)s% %%EndDocument
restore showpage
%%End
�flushN)r
r �hasattrr )r s r �end_documentzPSDraw.end_document8 sH � ���
�
�A�B�B�B��4�7�G�$�$� ��G�M�M�O�O�O�O�O� � r c �� � t |d� � }|| j vr)| j � d||fz � � d| j |<