Current File : //opt/RZpython2/lib/python2.7/site-packages/gd.pyc
�
6+�Qc@s6dZddlZddlT[ddd��YZdS(s�GD module is an interface to the GD library written by Thomas Bouttel.
It allows your code to quickly draw images complete with lines, arcs,
text, multiple colors, cut and paste from other images, and flood fills,
and write out the result as a .PNG, .JPEG, or .WBMP file. This is
particularly useful in World Wide Web applications, where .JPEG is
universally supported and PNG is the up-and-coming format used for
inline images. It has been extended in some ways from the original GD
library.i����N(t*timagecBs}eZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�ZRS(
cGsMt|dt�r3t|�}|dj|d<ntj|�|jd<dS(Nit_image(t
isinstanceRtlistRt_gdt__dict__(tselftargs((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyt__init__scCst|j|�S(N(tgetattrR(Rtname((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyt__getattr__scCst|j||�S(N(tsetattrR(RRtvalue((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyt__setattr__scCsQt|d�}x:|dD].}t|�}|jj|||�|}qWdS(sIdraw a line along the sequence of points in the list or tuple using coloriiN(ttupleRtline(Rtpointstcolortprevtp((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pytliness
cGs|jj|j|�S(N(RtcopyTo(RtimR((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyR&scGs|jj|j|�S(N(Rt
copyResizedTo(RRR((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyR)scGs|jj|j|�S(N(RtcopyResampledTo(RRR((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyR,scGs|jj|j|�S(N(RtcopyMergeTo(RRR((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyR/scGs|jj|j|�S(N(RtcopyMergeGrayTo(RRR((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyR2scGs|jj|j|�S(N(Rt
copyPaletteTo(RRR((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyR5scGs|jj|j|�S(N(Rtcompare(RRR((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyR8scGs|jj|j|�S(N(RtsetBrush(RRR((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyR;scGs|jj|j|�S(N(RtsetTile(RRR((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyR >s(t__name__t
__module__R	RRRRRRRRRRRR (((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyRs												((t__doc__RR(((s0/opt/RZpython2/lib/python2.7/site-packages/gd.pyt<module>s