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 ã @ sf d dl mZ d dlT d dlT d dlmZmZmZmZ d dl m
Z
G dd„ de
ƒZG dd„ deeƒZd S )
é )Úcolors)Ú*)ÚDrawingÚ_DrawingEditorMixinÚGroupÚPolygon)ÚWidgetc @ s° e Zd ZdZeeedd�eedd�eedd�eedd�eedƒeedƒeedƒeed ƒeed
ƒeedƒeeƒeeƒeeƒeedd�ee d
d�eedd�d�Z
dd„ Zdd„ ZdS )Ú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Úanglec K s> | j f |Ž | j f tddtjdd dddddddddd�Ž d S ) Nr Úcé! é2 é g ð?T)r r r r r r r r r r r r r r )Z_setKeywordsÚdictr Zred)ÚselfÚkwds© r" úK/tmp/tmp4i9tl1d3/lib64/python/reportlab/graphics/widgets/adjustableArrow.pyÚ__init__ s zAdjustableArrow.__init__c C s, 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}|jt|| j
| j| jd
�ƒ |j||ƒ |j| jƒ |S )Né ÚswÚwÚnwÚsr Úng à?r ÚeÚneÚse)Úpointsr r r )r&