|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__/ |
�
� h� � � � 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<