| Server IP : 198.54.126.161 / Your IP : 216.73.216.7 Web Server : LiteSpeed System : Linux premium12.web-hosting.com 4.18.0-553.94.1.lve.el8.x86_64 #1 SMP Thu Jan 22 12:37:22 UTC 2026 x86_64 User : amerfigf ( 898) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__/ |
Upload File : |
�
�|oi� � � � d Z ddlmZ ddlmZmZmZ ddlmZm Z m
Z
G d� dee� � Z G d� dee� � Z G d � d
eee� � Z
G d� deee� � Z G d
� de� � Z G d� 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 � � e Zd ZdZdZd� 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 � �� t t | � � j di |�� || _ |�Ct |� � rt d� � �|s|rt
d� � �|d g}|d g}|�-t t t |� � � � d� � | d<