Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 NebPã@sfddlmZddlTddlTddlmZmZmZmZddl m Z Gdd„de ƒZ Gdd„deeƒZ d S) é)Úcolors)Ú*)ÚDrawingÚ_DrawingEditorMixinÚGroupÚPolygon)ÚWidgetc@s°eZdZdZeeedd�eedd�eedd�eedd�eedƒeedƒeedƒeed ƒeed ƒeed ƒeeƒeeƒeeƒeed d�ee d d�eedd�d�Z dd„Z dd„Z dS)ÚAdjustableArrowzcThis widget draws an arrow (style one). possible attributes: 'x', 'y', 'size', 'fillColor' zsymbol x coordinate)Údesczsymbol y coordinatezsymbol x coordinate adjustmentzwidth of the stemzlength of the stemz(how much the head projects from the stemzlength of the headz4howmuch the head sweeps back (-ve) or forwards (+ve)zscaling factorzanchoring point of the labelzQIf True (default) the arrow is horizontal pointing right False means it points upzPangle of arrow default (0), right True 0 is horizontal to right else vertical up)ÚxÚyÚdxÚdyÚ stemThicknessÚ stemLengthÚheadProjectionÚ headLengthÚ headSweepÚscaleÚ fillColorÚ strokeColorÚ strokeWidthÚ boxAnchorÚrightÚanglecKs>|jf|Ž|jftddtjdddddddddddd�ŽdS) NrÚcé!é2égð?T)r r rrrrrrrrrrrr)Z _setKeywordsÚdictrZred)ÚselfÚkwds©r"úK/tmp/tmp4i9tl1d3/lib64/python/reportlab/graphics/widgets/adjustableArrow.pyÚ__init__ s  zAdjustableArrow.__init__cCs,tƒ}|j}|j}|j}|j|}|j|}|j|}|j|}|j|} ||} d||} |j } |j �r.| dkr|| } n| dkr�| d} nd } | dkr¨| d}n| dkr¸| }nd }|| ||||| ||||| | d|||||| d||||| | ||| ||| |g}nÆ| | } } | dk�rJ| } n| dk�r`| d} nd } | dk�rv| }n| dk�rŒ| d}nd }||| |||| |||| ||| | || ||d|| | || || ||| |g}|j t ||j |j|jd �ƒ|j||ƒ|j|jƒ|S)NéÚswÚwÚnwÚsrÚngà?rÚeÚneÚse)Úpointsrrr)r&r'r()r)rr*)r'rr+)r(r*r,)r(r*r,)r'rr+)r,r+r-)r*rr))rr r rrrrrrrrÚaddrrrrÚ translateÚrotater)r Úgr r rrrrrrr'Úhrrr r.r"r"r#Údraw3sp                       zAdjustableArrow.drawN) Ú__name__Ú __module__Ú __qualname__Ú__doc__ZAttrMapZ AttrMapValueZisNumberZ isColorOrNoneZ isBoxAnchorZ isBooleanZ_attrMapr$r4r"r"r"r#r s(      r c@seZdZddd„ZdS)ÚAdjustableArrowDrawingédé?cOs0tj|||f|ž|Ž|j|tƒdddd�dS)NZadjustableArrow)ÚnameÚvalidater )rr$Z_addr )r ÚwidthÚheightÚargsÚkwr"r"r#r$|szAdjustableArrowDrawing.__init__N)r:r;)r5r6r7r$r"r"r"r#r9{sr9N) Z reportlab.librZreportlab.lib.validatorsZreportlab.lib.attrmapZreportlab.graphics.shapesrrrrZreportlab.graphics.widgetbaserr r9r"r"r"r#Ús  t