%PDF- %PDF-
Direktori : /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/svgwrite/ |
Current File : //proc/self/root/opt/alt/python27/lib/python2.7/site-packages/svgwrite/container.pyo |
� 8��Rc @ sF d Z d d l m Z d d l m Z m Z m Z d d l m Z m Z d d l m Z d e e e f d � � YZ d e f d � � YZ d e e e e f d � � YZ d e e e f d � � YZ d e f d � � YZ d e e e e f d � � YZ d e e e f d � � YZ d e f d � � YZ d e f d � � YZ d S( s� The **container** module provides following structural objects: * :class:`svgwrite.Group` * :class:`svgwrite.SVG` * :class:`svgwrite.Defs` * :class:`svgwrite.Symbol` * :class:`svgwrite.Marker` * :class:`svgwrite.Use` * :class:`svgwrite.Hyperlink` * :class:`svgwrite.Script` * :class:`svgwrite.Style` set/get SVG attributes:: element['attribute'] = value value = element['attribute'] i����( t BaseElement( t ViewBoxt Transformt XLink( t Presentationt Clipping( t CDATAt Groupc B s e Z d Z d Z RS( s\ The **Group** (SVG **g**) element is a container element for grouping together related graphics elements. Grouping constructs, when used in conjunction with the **desc** and **title** elements, provide information about document structure and semantics. Documents that are rich in structure may be rendered graphically, as speech, or as braille, and thus promote accessibility. A group of elements, as well as individual objects, can be given a name using the **id** attribute. Named groups are needed for several purposes such as animation and re-usable objects. t g( t __name__t __module__t __doc__t elementname( ( ( sC /opt/alt/python27/lib/python2.7/site-packages/svgwrite/container.pyR ! s t Defsc B s e Z d Z d Z RS( s� The **defs** element is a container element for referenced elements. For understandability and accessibility reasons, it is recommended that, whenever possible, referenced elements be defined inside of a **defs**. t defs( R R R R ( ( ( sC /opt/alt/python27/lib/python2.7/site-packages/svgwrite/container.pyR 2 s t Symbolc B s e Z d Z d Z RS( s� The **symbol** element is used to define graphical template objects which can be instantiated by a **use** element. The use of **symbol** elements for graphics that are used multiple times in the same document adds structure and semantics. Documents that are rich in structure may be rendered graphically, as speech, or as braille, and thus promote accessibility. t symbol( R R R R ( ( ( sC /opt/alt/python27/lib/python2.7/site-packages/svgwrite/container.pyR : s t Markerc B s&