+
    ÂHàjH  ã                  óf   € ^ RI Ht ^ RIt^RIHt Rt]'       d   ^ RIHt  ! R R4      tRt	R	t
R
tR# )é    )ÚannotationsN)ÚEpsImagePluginF)ÚIOc                  óª   € ] tR t^ tRtRR R lltRR R lltR R ltR	 R
 ltR R lt	R R lt
RR/R R llt]'       d   ^RIHt RR R lltRtR# )ÚPSDrawz]
Sets up printing to the given file. If ``fp`` is omitted,
``sys.stdout.buffer`` is assumed.
Nc               ó    € V ^8„  d   QhRRRR/# )é   ÚfpzIO[bytes] | NoneÚreturnÚNone© )Úformats   "ÚŒ/home/ubuntu/.hermes/installs/5f0a1ff4045d044e/environments/88679baa1dc64374a0cd943b62eeefb9/venv/lib/python3.14/site-packages/PIL/PSDraw.pyÚ__annotate__ÚPSDraw.__annotate__&   s   € ÷ ñ Ð+ð °tñ ó    c                	óV   € V'       g   \         P                  P                  pWn        R # ©N)ÚsysÚstdoutÚbufferr
   )Úselfr
   s   &&r   Ú__init__ÚPSDraw.__init__&   s   € ßÜ—‘×"Ñ"ˆBØŽr   c               ó    € V ^8„  d   QhRRRR/# )r	   Úidz
str | Noner   r   r   )r   s   "r   r   r   +   s   € ÷ ,ñ , ð ,°tñ ,r   c                óü   € V P                   P                  R4       V P                   P                  \        4       V P                   P                  \        4       V P                   P                  R4       / V n        R# )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   r   s   &&r   Úbegin_documentÚPSDraw.begin_document+   sS   € ð 	�‰�‰ð!ô	
ð 	�‰�‰”iÔ Ø�‰�‰”fÔØ�‰�‰Ð&Ô'Ø)+ˆŽr   c               ó   € V ^8„  d   QhRR/# )r	   r   r   r   )r   s   "r   r   r   ;   s   € ÷ ñ ˜dñ r   c                ó¬   € V P                   P                  R4       \        V P                   R4      '       d   V P                   P                  4        R# R# )z-Ends printing. (Write PostScript DSC footer.)s%   %%EndDocument
restore showpage
%%End
ÚflushN)r
   r   Úhasattrr&   )r   s   &r   Úend_documentÚPSDraw.end_document;   s6   € à�‰�‰ÐAÔBÜ�4—7‘7˜G×$Ò$Ø�G‰G�M‰MŽOñ %r   c               ó$   € V ^8„  d   QhRRRRRR/# )r	   ÚfontÚstrÚsizeÚintr   r   r   )r   s   "r   r   r   A   s&   € ÷ Eñ E˜Cð E sð E¨tñ Er   c                óè   € \        VR4      pW0P                  9  d3   V P                  P                  RW33,          4       ^V P                  V&   V P                  P                  RW#3,          4       R# )z^
Selects which font to use.

:param font: A PostScript font name
:param size: Size in points.
zUTF-8s#   /PSDraw-%s ISOLatin1Encoding /%s E
s   /F0 %d /PSDraw-%s F
N)Úbytesr!   r
   r   )r   r+   r-   Ú
font_bytess   &&& r   ÚsetfontÚPSDraw.setfontA   s^   € ô ˜4 Ó)ˆ
ØŸ\™\Ô)à�G‰G�M‰MØ7¸:Ð:RÕRôð ()ˆD�L‰L˜Ñ$à�‰�‰Ð.°$Ð1CÕCÖDr   c               ó$   € V ^8„  d   QhRRRRRR/# )r	   Úxy0útuple[int, int]Úxy1r   r   r   )r   s   "r   r   r   R   s!   € ÷ :ñ :˜ð :¨oð :À$ñ :r   c                óT   € V P                   P                  R. VOVO5,          4       R# )zŸ
Draws a line between the two points. Coordinates are given in
PostScript point coordinates (72 points per inch, (0, 0) is the lower
left corner of the page).
s   %d %d %d %d Vl
N©r
   r   )r   r5   r7   s   &&&r   ÚlineÚPSDraw.lineR   s"   € ð 	�‰�‰Ð)¨L¨c¨L°C©LÕ8Ö9r   c               ó    € V ^8„  d   QhRRRR/# )r	   Úboxútuple[int, int, int, int]r   r   r   )r   s   "r   r   r   Z   s   € ÷ 5ñ 5Ð6ð 5¸4ñ 5r   c                óJ   € V P                   P                  RV,          4       R# )zi
Draws a rectangle.

:param box: A tuple of four integers, specifying left, bottom, width and
   height.
s   %d %d M 0 %d %d Vr
Nr9   )r   r=   s   &&r   Ú	rectangleÚPSDraw.rectangleZ   s   € ð 	�‰�‰Ð-°Õ3Ö4r   ÚescapeFc               ó(   € V ^8„  d   QhRRRRRRRR/# )	r	   Úxyr6   Útextr,   rB   Úboolr   r   r   )r   s   "r   r   r   c   s.   € ÷ Bñ B�ð B¨cð B¸dð BÈtñ Br   c               óè   € \        VR4      pV'       d   VP                  RR4      pR F  pVP                  VRV,           4      pK  	  V P                  P                  RW3,           ,          4       R# )aÌ  
Draws text at the given position. You must use
:py:meth:`~PIL.PSDraw.PSDraw.setfont` before calling this method.

:param xy: The position, in PostScript point coordinates.
:param text: The text to draw, encoded as Latin-1.
:param escape: Whether to escape backslashes in the text. This keyword-only
    boolean defaults to ``False``, leaving backslashes unchanged for backwards
    compatibility. Parentheses are always escaped.

    .. versionadded:: 13.0.0
zlatin-1ó   \s   \\s   %d %d M (%s) S
N)ó   (ó   ))r0   Úreplacer
   r   )r   rD   rE   rB   Ú
text_bytesÚchars   &&&$  r   rE   ÚPSDraw.textc   s`   € ô ˜4 Ó+ˆ
ßØ#×+Ñ+¨E°7Ó;ˆJÛ ˆDØ#×+Ñ+¨D°%¸$µ,Ó?ŠJñ !à�‰�‰Ð)¨R°-Õ-?Õ@ÖAr   )ÚImagec               ó(   € V ^8„  d   QhRRRRRRRR/# )	r	   r=   r>   ÚimzImage.ImageÚdpiz
int | Noner   r   r   )r   s   "r   r   r   {   s,   € ÷ 'ñ 'Ø,ð'Ø2=ð'ØDNð'à	ñ'r   c                ó¤  € V'       g   VP                   R8X  d   ^ÈpM^dpVP                  ^ ,          ^H,          V,          pVP                  ^,          ^H,          V,          p\        V^,          V^ ,          ,
          4      p\        V^,          V^,          ,
          4      pWF8”  d   WV,          V,          pTpWW8”  d   WG,          V,          pTpWd,
          ^,          V^ ,          ,           pWu,
          ^,          V^,          ,           p	V P                  P	                  RW‰3,          4       WE3VP                  8w  dV   WBP                  ^ ,          ,          p
WRP                  ^,          ,          pV P                  P	                  RW«3,          4       \
        P                  ! W P                  R^ 4       V P                  P	                  R4       R# )z,Draw a PIL image, centered in the given box.Ú1s   gsave
%f %f translate
s   %f %f scale
Ú s
   
grestore
N)Úmoder-   Úfloatr
   r   r   Ú_save)r   r=   rQ   rR   ÚxÚyÚxmaxÚymaxÚdxÚdyÚsxÚsys   &&&&        r   ÚimageÚPSDraw.image{   sH  € ÷
 Ø�w‰w˜#Œ~Ø‘à�à�G‰G�A�J˜�O˜cÕ!ˆØ�G‰G�A�J˜�O˜cÕ!ˆä�S˜•V˜c !�f•_Ó%ˆÜ�S˜•V˜c !�f•_Ó%ˆØŒ8Ø•˜1•ˆAØˆAØŒ8Ø•˜1•ˆAØˆAØ�h˜!�^˜c !�fÕ$ˆØ�h˜!�^˜c !�fÕ$ˆØ�‰�‰Ð1°R°HÕ<Ô=Øˆ6�R—W‘WÔà—W‘W˜Q•Z•ˆBØ—W‘W˜Q•Z•ˆBØ�G‰G�M‰MÐ*¨b¨XÕ5Ô6Ü×Ò˜R§¡¨"¨aÔ0Ø�‰�‰�oÖ&r   )r
   r!   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r"   r(   r2   r:   r@   rE   ÚTYPE_CHECKINGrU   rO   ra   Ú__static_attributes__r   r   r   r   r       sF   † ñ÷
÷
,õ õEõ":õ5ðBÀU÷ B÷* Ý÷'ó 'r   r   s×  /S { show } bind def
/P { moveto show } bind def
/M { moveto } bind def
/X { 0 rmoveto } bind def
/Y { 0 exch rmoveto } bind def
/E {    findfont
        dup maxlength dict begin
        {
                1 index /FID ne { def } { pop pop } ifelse
        } forall
        /Encoding exch def
        dup /FontName exch def
        currentdict end definefont pop
} bind def
/F {    findfont exch scalefont dup setfont
        [ exch /setfont cvx ] cvx bind def
} bind def
sß  /Vm { moveto } bind def
/Va { newpath arcn stroke } bind def
/Vl { moveto lineto stroke } bind def
/Vc { newpath 0 360 arc closepath } bind def
/Vr {   exch dup 0 rlineto
        exch dup 0 exch rlineto
        exch neg 0 rlineto
        0 exch neg rlineto
        setgray fill } bind def
/Tm matrix def
/Ve {   Tm currentmatrix pop
        translate scale newpath 0 0 .5 0 360 arc closepath
        Tm setmatrix
} bind def
/Vf { currentgray exch setgray fill setgray } bind def
sã  /landscape false def
/errorBUF 200 string def
/errorNL { currentpoint 10 sub exch pop 72 exch moveto } def
errordict begin /handleerror {
    initmatrix /Courier findfont 10 scalefont setfont
    newpath 72 720 moveto $error begin /newerror false def
    (PostScript Error) show errorNL errorNL
    (Error: ) show
        /errorname load errorBUF cvs show errorNL errorNL
    (Command: ) show
        /command load dup type /stringtype ne { errorBUF cvs } if show
        errorNL errorNL
    (VMstatus: ) show
        vmstatus errorBUF cvs show ( bytes available, ) show
        errorBUF cvs show ( bytes used at level ) show
        errorBUF cvs show errorNL errorNL
    (Operand stargck: ) show errorNL /ostargck load {
        dup type /stringtype ne { errorBUF cvs } if 72 0 rmoveto show errorNL
    } forall errorNL
    (Execution stargck: ) show errorNL /estargck load {
        dup type /stringtype ne { errorBUF cvs } if 72 0 rmoveto show errorNL
    } forall
    end showpage
} def end
)Ú
__future__r   r   rU   r   rh   Útypingr   r   r   r    ÚERROR_PSr   r   r   Ú<module>rm      s=   ðõ" #ã 
å à€ßÝ÷z'ñ z'ðT€	ð:
€ð2‚r   