Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
›tîai ã @ s2 d Z dZddlmZ ddlmZ G dd„ 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 @ sˆ e Zd ZdZd"dd„Zdd„ Zdd„ Zd d
„ Zdd„ Zd
d„ Z d#dd„Z
d$dd„Zdd„ Zdd„ Z
d%dd„Zdd„ Zdd„ Zd d!„ 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 C s |g f|d k | _ | j| _d S )N)Ú_codeÚ_init_code_appendÚ_code_append)ÚselfÚcode© r
ú