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ã@sPddlmZdd„ZGdd„deƒZedkrLddlZddlZejejƒj ƒdS)é)ÚBasePencCsdjdd„|DƒƒS)Nú cSsg|] }t|ƒ‘qS©)Ústr)Ú.0Úirrú>/tmp/pip-build-_d5lkt3n/fonttools/fontTools/pens/svgPathPen.pyú sz!pointToString..)Újoin)ÚptrrrÚ pointToStringsr c@sTeZdZdd„Zdd„Zdd„Zdd„Zd d „Zd d „Zd d„Z dd„Z dd„Z dS)Ú SVGPathPencCs(tj||ƒg|_d|_d|_d|_dS)N)rÚ__init__Ú _commandsÚ _lastCommandÚ_lastXÚ_lastY)ÚselfZglyphSetrrrr s  zSVGPathPen.__init__cCs|jdkr|jjdƒdS)z™ >>> pen = SVGPathPen(None) >>> pen.moveTo((0, 0)) >>> pen.moveTo((10, 10)) >>> pen._commands ['M10 10'] ÚMéNéÿÿÿÿ)rrÚpop)rrrrÚ _handleAnchors zSVGPathPen._handleAnchorcCs6|jƒdt|ƒ}|jj|ƒd|_|\|_|_dS)aV >>> pen = SVGPathPen(None) >>> pen.moveTo((0, 0)) >>> pen._commands ['M0 0'] >>> pen = SVGPathPen(None) >>> pen.moveTo((10, 0)) >>> pen._commands ['M10 0'] >>> pen = SVGPathPen(None) >>> pen.moveTo((0, 10)) >>> pen._commands ['M0 10'] zM%srN)rr rÚappendrrr)rr ÚtrrrÚ_moveTos   zSVGPathPen._moveTocCs²|\}}||jkr ||jkr dS||jkr8d}t|ƒ}n@||jkrPd}t|ƒ}n(|jdkrld}dt|ƒ}n d}t|ƒ}d}|rŽ||7}||_||7}|jj|ƒ|\|_|_dS)aU # duplicate point >>> pen = SVGPathPen(None) >>> pen.moveTo((10, 10)) >>> pen.lineTo((10, 10)) >>> pen._commands ['M10 10'] # vertical line >>> pen = SVGPathPen(None) >>> pen.moveTo((10, 10)) >>> pen.lineTo((10, 0)) >>> pen._commands ['M10 10', 'V0'] # horizontal line >>> pen = SVGPathPen(None) >>> pen.moveTo((10, 10)) >>> pen.lineTo((0, 10)) >>> pen._commands ['M10 10', 'H0'] # basic >>> pen = SVGPathPen(None) >>> pen.lineTo((70, 80)) >>> pen._commands ['L70 80'] # basic following a moveto >>> pen = SVGPathPen(None) >>> pen.moveTo((0, 0)) >>> pen.lineTo((10, 10)) >>> pen._commands ['M0 0', ' 10 10'] NÚVÚHrrÚLÚ)rrrrr rr)rr ÚxÚyÚcmdZptsrrrrÚ_lineTo3s*$      zSVGPathPen._lineTocCsRd}|t|ƒd7}|t|ƒd7}|t|ƒ7}|jj|ƒd|_|\|_|_dS)z› >>> pen = SVGPathPen(None) >>> pen.curveTo((10, 20), (30, 40), (50, 60)) >>> pen._commands ['C10 20 30 40 50 60'] ÚCrN)r rrrrr)rÚpt1Úpt2Zpt3rrrrÚ _curveToOneus  zSVGPathPen._curveToOnecCsN|dk s t‚d}|t|ƒd7}|t|ƒ7}|jj|ƒd|_|\|_|_dS)zŒ >>> pen = SVGPathPen(None) >>> pen.qCurveTo((10, 20), (30, 40)) >>> pen._commands ['Q10 20 30 40'] NÚQr)ÚAssertionErrorr rrrrr)rr%r&rrrrÚ _qCurveToOne„s   zSVGPathPen._qCurveToOnecCs"|jjdƒd|_d|_|_dS)zp >>> pen = SVGPathPen(None) >>> pen.closePath() >>> pen._commands ['Z'] ÚZN)rrrrr)rrrrÚ _closePath“s zSVGPathPen._closePathcCs|jƒd|_d|_|_dS)zn >>> pen = SVGPathPen(None) >>> pen.endPath() >>> pen._commands ['Z'] N)r,rrr)rrrrÚ_endPathžszSVGPathPen._endPathcCs dj|jƒS)Nr)r r)rrrrÚ getCommands©szSVGPathPen.getCommandsN) Ú__name__Ú __module__Ú __qualname__rrrr#r'r*r,r-r.rrrrr s B  r Ú__main__N) ZfontTools.pens.basePenrr r r/ÚsysÚdoctestÚexitÚtestmodÚfailedrrrrÚs &