/opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/svgwrite/__pycache__/drawing.cpython-311.pyc (6543B)
§
Iôbÿ&�wã óX — d Z ddlZddlmZmZ ddlmZ ddlmZ G d„ dee¦ « Z dS )aï
The *Drawing* object is the overall container for all SVG
elements. It provides the methods to store the drawing into a file or a
file-like object. If you want to use stylesheets, the reference links
to this stylesheets were also stored (`add_stylesheet`)
in the *Drawing* object.
set/get SVG attributes::
element['attribute'] = value
value = element['attribute']
The Drawing object also includes a defs section, add elements to the defs
section by::
drawing.defs.add(element)
é N)ÚSVGÚDefs)ÚElementFactory)Ú
pretty_xmlc óT ‡ — e Zd ZdZdˆ fd„ Zˆ fd„Zdd„Zdd„Zdd„Zdd
„Z d„ Z
ˆ xZS )ÚDrawingaÍ This is the SVG drawing represented by the top level *svg* element.
A drawing consists of any number of SVG elements contained within the drawing
element, stored in the *elements* attribute.
A drawing can range from an empty drawing (i.e., no content inside of the drawing),
to a very simple drawing containing a single SVG element such as a *rect*,
to a complex, deeply nested collection of container elements and graphics elements.
ú
noname.svg©ú100%r c óh •— t t | ¦ « j dd|i|¤Ž || _ g | _ dS )a“
:param string filename: filesystem filename valid for :func:`open`
:param 2-tuple size: width, height
:param keywords extra: additional svg-attributes for the *SVG* object
Important (and not SVG Attributes) **extra** parameters:
:param string profile: ``'tiny | full'`` - define the SVG baseProfile
:param bool debug: switch validation on/off
ÚsizeN© )Úsuperr Ú__init__ÚfilenameÚ_stylesheets)Úselfr r
ÚextraÚ __class__s €úb/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/svgwrite/drawing.pyr zDrawing.__init__+ sB ø€ ð &��g�tÑÔÔ%Ð9Ð9¨4Ð9°5Ð9Ð9Ð9Ø ˆŒ
؈ÔÐÐó c óÒ •— | j }| j }d| j d<