Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
2øªj£ ã @ s^ d dl mZ d dlmZ d dlmZ ddlmZ ddlm Z dd„ d
D ƒZ
G dd „ d eƒZdS )é )ÚTransformPen)Úetree)Útostré )Ú
parse_path)ÚPathBuilderc C s g | ]}t |ƒ‘qS © )r )Ú.0Úsr r úC/tmp/pip-build-_d5lkt3n/fonttools/fontTools/svgLib/path/__init__.pyú
s r ÚSVGPathr c @ s0 e Zd ZdZd dd„Zed
dd„ƒZdd„ ZdS )r
aÅ Parse SVG ``path`` elements from a file or string, and draw them
onto a glyph object that supports the FontTools Pen protocol.
For example, reading from an SVG file and drawing to a Defcon Glyph:
import defcon
glyph = defcon.Glyph()
pen = glyph.getPen()
svg = SVGPath("path/to/a.svg")
svg.draw(pen)
Or reading from a string containing SVG data, using the alternative
'fromstring' (a class method):
data = ' s