/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__/text.cpython-311.pyc (11745B)
§ ¶h:~Þ!è¦ãóö—dZddlmZddlmZmZmZddlmZm Z m Z Gd„dee¦«Z Gd„de e¦«Z Gd „d eee¦«Z Gd „d eee¦«ZGd „de¦«ZGd„deee¦«ZdS)zÇ Text that is to be rendered as part of an SVG document fragment is specified using the **text** element. The characters to be drawn are expressed as XML character data inside the **text** element. é)Ú BaseElement)Ú PresentationÚ TransformÚXLink)Ú iterflatlistÚstrlistÚ is_stringcó2‡—eZdZdZdZdˆfd„ Zˆfd„ZˆxZS)ÚTSpana% Within a **Text** element, text and font properties and the current text position can be adjusted with absolute or relative coordinate values by using the **TSpan** element. The characters to be drawn are expressed as XML character data inside the **TSpan** element. ÚtspanNc 󺕗tt|¦«jd i|¤Ž||_|�Ct |¦«rt d¦«‚|s|rt d¦«‚|dg}|dg}|�-ttt|¦«¦«d¦«|d<|�-ttt|¦«¦«d¦«|d<|�-ttt|¦«¦«d¦«|d <|�-ttt|¦«¦«d¦«|d <|�/ttt|¦«¦«d¦«|d <dSdS) a� :param string text: **tspan** content :param 2-tuple insert: The **insert** parameter is the absolute insert point of the text, don't use this parameter in combination with the **x** or the **y** parameter. :param list x: list of absolute x-axis values for characters :param list y: list of absolute y-axis values for characters :param list dx: list of relative x-axis values for characters :param list dy: list of relative y-axis values for characters :param list rotate: list of rotation-values for characters (in degrees) NzE'insert' should be a or a with at least two elements.z;Use 'insert' and 'x' or 'y' parameter not at the same time!réú ÚxÚyÚdxÚdyÚrotate©) Úsuperr Ú__init__Útextr Ú TypeErrorÚ ValueErrorrÚlistr) ÚselfrÚinsertrrrrrÚextraÚ __class__s €ú_/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/svgwrite/text.pyrzTSpan.__init__siø€ð $��e�TÑÔÔ#Ð,Ð, eÐ,Ð,Ð,؈Œ Ø Ð Ý˜Ñ Ô ð ;Ýð!:ñ;ô;ð;àð 7�Að 7Ý ð"6ñ7ô7ð7à˜”� ˆAؘ”� ˆAà ˆ=Ý¥¥\°!¡_¤_Ñ 5Ô 5°sÑ;Ô;ˆD�‰IØ ˆ=Ý¥¥\°!¡_¤_Ñ 5Ô 5°sÑ;Ô;ˆD�‰IØ ˆ>Ý ¥¥l°2Ñ&6Ô&6Ñ!7Ô!7¸Ñ=Ô=ˆD�‰JØ ˆ>Ý ¥¥l°2Ñ&6Ô&6Ñ!7Ô!7¸Ñ=Ô=ˆD�‰JØ Ð Ý$¥T­,°vÑ*>Ô*>Ñ%?Ô%?ÀÑEÔEˆD�‰NˆNˆNð Ð óc󈕗tt|¦« ¦«}t|j¦«|_|S©N)rr Úget_xmlÚstrr©rÚxmlrs €r r$z TSpan.get_xmlDs2ø€Ý•E˜4Ñ Ô ×(Ò(Ñ*Ô*ˆÝ�t”y‘>”>ˆŒØˆ r!)NNNNNN©Ú__name__Ú __module__Ú __qualname__Ú__doc__Ú elementnamerr$Ú __classcell__©rs@r r r snø€€€€€ððð€Kð#Fð#Fð#Fð#Fð#Fð#FðJððððððððr!r có—eZdZdZdZdS)ÚTextz² The **Text** element defines a graphics element consisting of text. The characters to be drawn are expressed as XML character data inside the **Text** element. rN)r)r*r+r,r-rr!r r1r1Js€€€€€ððð €K€K€Kr!r1có0‡—eZdZdZdZˆfd„Zˆfd„ZˆxZS)ÚTRefzõ The textual content for a **Text** can be either character data directly embedded within the element or the character data content of a referenced element, where the referencing is specified with a **TRef** element. Útrefc ór•—tt|¦«jdi|¤Ž| |¦«dS)aA :param element: create a reference this element, if element is a `string` its the **id** name of the referenced element, if element is a :class:`~svgwrite.base.BaseElement` the **id** SVG Attribute is used to create the reference. Nr)rr3rÚset_href)rÚelementrrs €r rz TRef.__init__^s@ø€ð #��d�DÑÔÔ"Ð+Ð+ UÐ+Ð+Ð+Ø � Š �gÑÔÐÐÐr!cóz•—| ¦«tt|¦« ¦«Sr#)Ú update_idrr3r$)rrs €r r$z TRef.get_xmlis/ø€Ø �ŠÑÔÐÝ•T˜4Ñ Ô ×(Ò(Ñ*Ô*Ð*r!r(r/s@r r3r3Tsbø€€€€€ððð€Kð ð ð ð ð ð+ð+ð+ð+ð+ð+ð+ð+ð+r!r3có2‡—eZdZdZdZdˆfd„ Zˆfd„ZˆxZS) ÚTextPathax In addition to text drawn in a straight line, SVG also includes the ability to place text along the shape of a **path** element. To specify that a block of text is to be rendered along the shape of a **path**, include the given text within a **textPath** element which includes an **xlink:href** attribute with a IRI reference to a **path** element. ÚtextPathNÚalignÚexactc 󺕗tt|¦«jdi|¤Ž||_|dkr||d<|dkr||d<|�||d<| |¦«dS)a0 :param path: link to **path**, **id** string or **Path** object :param string text: **textPath** content :param number startOffset: text starts with offset from begin of path. :param string method: ``align|stretch`` :param string spacing: ``exact|auto`` ÚstretchÚmethodÚautoÚspacingNÚ startOffsetr)rr;rrr6)rÚpathrrDrArCrrs €r rzTextPath.__init__ysø€ð '��h˜ÑÔÔ&Ð/Ð/¨Ð/Ð/Ð/؈Œ Ø �YÒ Ð Ø#ˆD�‰NØ �fÒ Ð Ø%ˆD�‰OØ Ð "Ø"-ˆD�Ñ Ø � Š �dÑÔÐÐÐr!có°•—| ¦«tt|¦« ¦«}t |j¦«|_|Sr#)r9rr;r$r%rr&s €r r$zTextPath.get_xml�sBø€Ø �ŠÑÔÐÝ•H˜dÑ#Ô#×+Ò+Ñ-Ô-ˆÝ�t”y‘>”>ˆŒØˆ r!)Nr=r>r(r/s@r r;r;nsgø€€€€€ððð€Kððððððð(ððððððððr!r;có4‡—eZdZdZˆfd„Zd„Zd„Zd„ZˆxZS)ÚTBreakÚtbreakc óH•—tt|¦«jdi|¤ŽdS)Nr)rrHr)rrrs €r rzTBreak.__init__—s,ø€Ø$��f�dÑÔÔ$Ð-Ð- uÐ-Ð-Ð-Ð-Ð-r!có —td¦«‚)Nz,__getitem__() not supported by TBreak class.©ÚNotImplementedError)rÚkeys r Ú __getitem__zTBreak.__getitem__šó€Ý!Ð"PÑQÔQÐQr!có —td¦«‚)Nz,__setitem__() not supported by TBreak class.rL)rrNÚvalues r Ú __setitem__zTBreak.__setitem__�rPr!có —td¦«‚)Nz$add() not supported by TBreak class.rL)rr7s r Úaddz TBreak.add s€Ý!Ð"HÑIÔIÐIr!) r)r*r+r-rrOrSrUr.r/s@r rHrH”swø€€€€€Ø€Kð.ð.ð.ð.ð.ðRðRðRðRðRðRðJðJðJðJðJðJðJr!rHcó4‡—eZdZdZdZdˆfd„ Zd„Zd„ZˆxZS)ÚTextAreaa At this time **textArea** is only available for SVG 1.2 Tiny profile. The **textArea** element allows simplistic wrapping of text content within a given region. The `tiny` profile of SVG specifies a single rectangular region. Other profiles may allow a sequence of arbitrary shapes. Text wrapping via the **textArea** element is available as a lightweight and convenient facility for simple text wrapping where a complete box model layout engine is not required. The layout of wrapped text is user agent dependent; thus, content developers need to be aware that there might be different results, particularly with regard to where line breaks occur. The TextArea class wraps every text added by write() or writeline() as **tspan** element. ÚtextAreaNc óÚ•—tt|¦«jdi|¤Ž|�| |¦«|�|d|d<|d|d<|�|d|d<|d|d<dSdS)NrrrrÚwidthÚheightr)rrWrÚwrite)rrrÚsizerrs €r rzTextArea.__init__ºsŠø€Ø&��h˜ÑÔÔ&Ð/Ð/¨Ð/Ð/Ð/Ø Ð Ø �JŠJ�tÑ Ô Ð Ø Ð Ø˜qœ ˆD�‰Iؘqœ ˆD�‰IØ Ð Ø  œGˆD�‰MØ! !œWˆD�‰NˆNˆNð Ð r!có—||d<dS)z" Set the line-spacing to *value*. zline-incrementNr)rrRs r Úline_incrementzTextArea.line_incrementÅs€à!&ˆÐ ÑÐÐr!c ó|—d|vr"| t|fi|¤Ž¦«dS| d¦«}|dd…D]E}|r | t|fi|¤Ž¦«| t¦«¦«ŒF|dr(| t|dfi|¤Ž¦«dSdS)z� Add text as **tspan** elements, with extra-params for the **tspan** element. Use the '\\n' character for line breaks. ú Néÿÿÿÿ)rUr ÚsplitrH)rrrÚlinesÚlines r r\zTextArea.writeÉsæ€ð �tÐ Ð Ø �HŠH•U˜4Ð)Ð) 5Ð)Ð)Ñ *Ô *Ð *Ð *Ð *à—J’J˜tÑ$Ô$ˆEؘc˜r˜cœ ð #ð #�Øð3Ø—H’H�U 4Ð1Ð1¨5Ð1Ð1Ñ2Ô2Ð2Ø—’�™œÑ"Ô"Ð"Ð"ð�RŒyð 4Ø—’�˜u RœyÐ2Ð2¨EÐ2Ð2Ñ3Ô3Ð3Ð3Ð3ð 4ð 4r!)NNN) r)r*r+r,r-rr_r\r.r/s@r rWrW¤slø€€€€€ððð&€Kð %ð %ð %ð %ð %ð %ð'ð'ð'ð4ð4ð4ð4ð4ð4ð4r!rWN)r,Ú svgwrite.baserÚsvgwrite.mixinsrrrÚsvgwrite.utilsrrr r r1r3r;rHrWrr!r úrisðððð&Ð%Ð%Ð%Ð%Ð%Ø:Ð:Ð:Ð:Ð:Ð:Ð:Ð:Ð:Ð:Ø;Ð;Ð;Ð;Ð;Ð;Ð;Ð;Ð;Ð;ð3ð3ð3ð3ð3ˆK˜ñ3ô3ð3ðlððððˆ5�)ñôðð+ð+ð+ð+ð+ˆ;˜˜|ñ+ô+ð+ð4#ð#ð#ð#ð#ˆ{˜E <ñ#ô#ð#ðL Jð Jð Jð Jð Jˆ[ñ Jô Jð Jð 64ð64ð64ð64ð64ˆ{˜I |ñ64ô64ð64ð64ð64r!