B
s] @ s d Z ddlmZ ddlmZmZmZ ddlmZm Z m
Z
mZ G dd deeZG dd deeZ
G d d
d
eeeZG dd deeeZG d
d deZG dd deeeZdS )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 TransformXLink)iterflatliststrlist is_string
to_unicodec s2 e Zd ZdZdZd fdd Z fddZ ZS ) 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.
ZtspanNc s t t| jf | || _|dk rTt|r0td|s8|r@td|d g}|d g}|dk rrttt |d| d<