/opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__
NameSizeModeActions
animate.cpython-311.pyc83770644editdlrm
base.cpython-311.pyc128700644editdlrm
container.cpython-311.pyc149210644editdlrm
drawing.cpython-311.pyc65430644editdlrm
elementfactory.cpython-311.pyc37240644editdlrm
etree.cpython-311.pyc16040644editdlrm
filters.cpython-311.pyc156530644editdlrm
gradients.cpython-311.pyc70760644editdlrm
image.cpython-311.pyc33200644editdlrm
masking.cpython-311.pyc25360644editdlrm
mixins.cpython-311.pyc140560644editdlrm
params.cpython-311.pyc30190644editdlrm
path.cpython-311.pyc45320644editdlrm
pattern.cpython-311.pyc28260644editdlrm
shapes.cpython-311.pyc81310644editdlrm
solidcolor.cpython-311.pyc24710644editdlrm
text.cpython-311.pyc117450644editdlrm
utils.cpython-311.pyc109770644editdlrm
validator2.cpython-311.pyc89740644editdlrm
version.cpython-311.pyc2730644editdlrm
__init__.cpython-311.pyc37120644editdlrm
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__/gradients.cpython-311.pyc (7076B)
§ óŒéÚc)ôãó¦—dZddlmZddlmZmZddlmZGd„de¦«ZGd„deee¦«Z Gd „d e ¦«Z Gd „d e ¦«Z d S)a  Gradients consist of continuously smooth color transitions along a vector from one color to another, possibly followed by additional transitions along the same vector to other colors. SVG provides for two types of gradients: linear gradients and radial gradients. é)Ú BaseElement)Ú TransformÚXLink)Ú is_stringcó$‡—eZdZdZdˆfd„ ZˆxZS)Ú _GradientStopÚstopNc óv•—tt|¦«jdi|¤Ž|�||d<|�||d<|�||d<dSdS)NÚoffsetz stop-colorz stop-opacity©)ÚsuperrÚ__init__)Úselfr ÚcolorÚopacityÚextraÚ __class__s €úd/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/svgwrite/gradients.pyrz_GradientStop.__init__scø€Ø+��m˜TÑ"Ô"Ô+Ð4Ð4¨eÐ4Ð4Ð4à Ð Ø#ˆD�‰NØ Ð Ø!&ˆD�Ñ Ø Ð Ø#*ˆD�Ñ Ð Ð ð Ð ó©NNN)Ú__name__Ú __module__Ú __qualname__Ú elementnamerÚ __classcell__©rs@rrrsBø€€€€€Ø€Kð+ð+ð+ð+ð+ð+ð+ð+ð+ð+rrcóF‡—eZdZdZd ˆfd„ Zd d„Zd d„Zd d„Zˆfd „ZˆxZ S)Ú_AbstractGradientÚgradientTransformNc óê•—tt|¦«jdi|¤Ž|�Ot|¦«r| |¦«dS| | ¦«¦«dSdS)Nr )r rrrÚset_hrefÚget_iri)rÚinheritrrs €rrz_AbstractGradient.__init__%sø€Ø/�Õ Ñ&Ô&Ô/Ð8Ð8°%Ð8Ð8Ð8Ø Ð Ý˜Ñ!Ô!ð 1Ø— ’ ˜gÑ&Ô&Ð&Ð&Ð&à— ’ ˜gŸošoÑ/Ô/Ñ0Ô0Ð0Ð0Ð0ð Ð rÚnonecó4—| ¦«›d|›�S)z( Returns the of the gradient. ú )Ú get_funciri)rÚdefaults rÚget_paint_serverz"_AbstractGradient.get_paint_server-s!€à×*Ò*Ñ,Ô,Ð,Ð,¨g¨gÐ6Ð6rcóR—| t||||¬¦«¦«|S)a: Adds a stop-color to the gradient. :param offset: is either a (usually ranging from 0 to 1) or a `` (usually ranging from 0% to 100%) which indicates where the gradient stop is placed. Represents a location along the gradient vector. For radial gradients, it represents a percentage distance from (fx,fy) to the edge of the outermost/largest circle. :param color: indicates what color to use at that gradient stop :param opacity: defines the opacity of a given gradient stop )Úfactory)Úaddr)rr rrs rÚadd_stop_colorz _AbstractGradient.add_stop_color1s,€ð �Š•˜v u¨g¸tÐDÑDÔDÑEÔEÐE؈ r©ggð?có¼—|d|dz t|¦«dz z }|d}|D],}| t|d¦«||¦«||z }Œ-|S)zô Add stop-colors from colors with linear offset distributuion from sweep[0] to sweep[1]. i.e. colors=['white', 'red', 'blue'] 'white': offset = 0.0 'red': offset = 0.5 'blue': offset = 1.0 éré)Úlenr-Úround)rÚcolorsÚsweeprÚdeltar rs rÚ add_colorsz_AbstractGradient.add_colors?so€ð�q”˜E !œHÑ$­¨V©¬°q©Ñ9ˆØ�q”ˆØð ð ˆEØ × Ò ¥ f¨aÑ 0Ô 0°%¸Ñ AÔ AÐ AØ �e‰OˆFˆF؈ rcóš•—t|d¦«r| ¦«tt|¦« ¦«S)NÚhref)ÚhasattrÚ update_idr rÚget_xml)rrs €rr<z_AbstractGradient.get_xmlOsBø€Ý �4˜Ñ Ô ð Ø �NŠNÑ Ô Ð ÝÕ&¨Ñ-Ô-×5Ò5Ñ7Ô7Ð7r)N)r$r)r.N) rrrÚ transformnamerr)r-r7r<rrs@rrr"s—ø€€€€€Ø'€Mð1ð1ð1ð1ð1ð1ð7ð7ð7ð7ð ð ð ð ððððð 8ð8ð8ð8ð8ð8ð8ð8ð8rrcó(‡—eZdZdZdZdˆfd„ ZˆxZS)ÚLinearGradientzE Linear gradients are defined by a SVG element. ÚlinearGradientNc ó°•—tt|¦«jd d|i|¤Ž|�|d|d<|d|d<|�|d|d<|d|d<dSdS) zô :param 2-tuple start: start point of the gradient (**x1**, **y1**) :param 2-tuple end: end point of the gradient (**x2**, **y2**) :param inherit: gradient inherits properties from `inherit` see: **xlink:href** r#NrÚx1r0Úy1Úx2Úy2r )r r?r)rÚstartÚendr#rrs €rrzLinearGradient.__init__Zswø€ð -��n˜dÑ#Ô#Ô,ÐFÐF°WÐFÀÐFÐFÐFØ Ð Ø˜qœˆD�‰JؘqœˆD�‰JØ ˆ?ؘQœˆD�‰JؘQœˆD�‰JˆJˆJð ˆ?rr©rrrÚ__doc__rrrrs@rr?r?UsLø€€€€€ððà"€Kð  ð  ð  ð  ð  ð  ð  ð  ð  ð  rr?có(‡—eZdZdZdZdˆfd„ ZˆxZS)ÚRadialGradientzE Radial gradients are defined by a SVG element. ÚradialGradientNc 󾕗tt|¦«jd d|i|¤Ž|�|d|d<|d|d<|�||d<|�|d|d<|d|d <dSdS) a- :param 2-tuple center: center point for the gradient (**cx**, **cy**) :param r: radius for the gradient :param 2-tuple focal: focal point for the radial gradient (**fx**, **fy**) :param inherit: gradient inherits properties from `inherit` see: **xlink:href** r#NrÚcxr0ÚcyÚrÚfxÚfyr )r rKr)rÚcenterrPÚfocalr#rrs €rrzRadialGradient.__init__os‡ø€ð -��n˜dÑ#Ô#Ô,ÐFÐF°WÐFÀÐFÐFÐFØ Ð Ø œˆD�‰JØ œˆD�‰JØ ˆ=؈D�‰IØ Ð Ø˜qœˆD�‰JؘqœˆD�‰JˆJˆJð Ð r)NNNNrHrs@rrKrKjsLø€€€€€ððà"€Kð"ð"ð"ð"ð"ð"ð"ð"ð"ð"rrKN) rIÚ svgwrite.baserÚsvgwrite.mixinsrrÚsvgwrite.utilsrrrr?rKr rrúrXsðððð&Ð%Ð%Ð%Ð%Ð%Ø,Ð,Ð,Ð,Ð,Ð,Ð,Ð,Ø$Ð$Ð$Ð$Ð$Ð$ð +ð +ð +ð +ð +�Kñ +ô +ð +ð08ð08ð08ð08ð08˜  Y°ñ08ô08ð08ðf ð ð ð ð Ð&ñ ô ð ð*"ð"ð"ð"ð"Ð&ñ"ô"ð"ð"ð"r