Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 2øªj ã@s<ddlmZddlmZddgZGdd„deƒZdd„ZdS)é)Úpairwise)ÚContourFilterPenÚreversedContourÚReverseContourPenc@seZdZdZdd„ZdS)raFilter pen that passes outline data to another pen, but reversing the winding direction of all contours. Components are simply passed through unchanged. Closed contours are reversed in such a way that the first point remains the first point. cCst|ƒS)N)r)ÚselfÚcontour©rúE/tmp/pip-build-_d5lkt3n/fonttools/fontTools/pens/reverseContourPen.pyÚ filterContourszReverseContourPen.filterContourN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r rrrr rsccs|sdSt|ƒdkstdƒ‚|jƒd}|dks4t‚|dk}|jdƒ\}}|dks^td |ƒ‚|d}|dkr®|dks~td ƒ‚| sŒtd ƒ‚|dftt|dd…ƒƒd}|sÒ|dkrÀd }nd }||fV�n.|d\}}|d}|�rŽ||fV||k�r*d|ffV|t|dd…ƒ|ff|d<t|ƒdk�rF|d\} } n ||} } | dk�r¸|| k�r¸|d=|�r¸|t|dd…ƒ| f|d<n*||ffV|t|dd…ƒ|ff|d<xFt|d d�D]6\\} } \} }| tt| dd…ƒƒ|dffV�qÆW|�r dndffVdS)z€ Generator that takes a list of pen's (operator, operands) tuples, and yields them with the winding direction reversed. Nézinvalid contourrÚendPathÚ closePathÚmoveToÚqCurveToz invalid initial segment type: %rz)off-curve only paths must end with 'None'z,only one qCurveTo allowed per off-curve pathFTZlineTo)Úreverse)rr)rréÿÿÿÿr)Nrrrrrrrrrr)ÚlenÚAssertionErrorÚpopÚtupleÚreversedr)rZ contourTypeÚclosedZ firstTypeZfirstPtsZ firstOnCurveZlastTypeZlastPtsZ lastOnCurveZ secondTypeZ secondPtsZcurTypeZcurPtsÚ_ZnextPtsrrr rsX           *N)ZfontTools.misc.arrayToolsrZfontTools.pens.filterPenrÚ__all__rrrrrr Ús