/opt/alt/python27/lib/python2.7/site-packages/svgwrite
Edit: /opt/alt/python27/lib/python2.7/site-packages/svgwrite/path.pyo (3743B)
Ñò
³#ÚLc @ so d d k l Z d d k l Z d d k l Z l Z l Z d d k l Z d e e e e f d „ ƒ YZ d S( iÿÿÿÿ( t BaseElement( t strlist( t Presentationt Markerst Transform( t
to_unicodet Pathc B sY e Z d Z d Z d d „ Z d „ Z e e d d „ ƒ Z e d e
d „ Z d „ Z RS( s– The
element represent the outline of a shape which can be filled,
stroked, used as a clipping path, or any combination of the three.
t pathc K sW t t | ƒ i | g | _ | i | ƒ | i o | i i | i | i ƒ n d S( sÉ
:param `iterable` d: *coordinates*, *length* and *commands*
:param dict attribs: additional SVG attributes
:param extra: additional SVG attributs as keyword-arguments
N(
t superR t __init__t commandst pusht debugt validatort check_all_svg_attribute_valuest elementnamet attribs( t selft dt extra( ( s> /opt/alt/python27/lib/python2.7/site-packages/svgwrite/path.pyR s
c G s | i i | ƒ d S( s‹ Push commands and coordinats onto the command stack.
:param `iterable` elements: *coordinates*, *length* and *commands*
N( R
t extend( R t elements( ( s> /opt/alt/python27/lib/python2.7/site-packages/svgwrite/path.pyR . s t +c C s2 t | ƒ } h d d 6d d 6| } d | | f S( Ni R i t -s %d,%d( t int( t large_arct angle_dirt large_arc_flagt
sweep_flag( ( s> /opt/alt/python27/lib/python2.7/site-packages/svgwrite/path.pyt arc_flags6 s c C s | i h d t 6d t 6| ƒ t | t t f ƒ o | i | | ƒ n | i | ƒ | i | ƒ | i t i | | ƒ ƒ | i | ƒ d S( sÖ Helper function for the elliptical-arc command.
see SVG-Reference: http://www.w3.org/TR/SVG11/paths.html#PathData
:param 2-tuple target: *coordinate* of the arc end point
:param number rotation: x-axis-rotation of the ellipse in degrees
:param number|2-tuple r: radii rx, ry when r is a *2-tuple* or rx=ry=r if r is a *number*
:param bool large_arc: draw the arc sweep of greater than or equal to 180 degrees (**large-arc-flag**)
:param angle_dir: ``'+|-'`` ``'+'`` means the arc will be drawn in a "positive-angle" direction (**sweep-flag**)
:param bool absolute: indicates that target *coordinates* are absolute else they are relative to the current point
t At aN( R t Truet Falset
isinstancet floatR R R ( R t targett rotationt rR R t absolute( ( s> /opt/alt/python27/lib/python2.7/site-packages/svgwrite/path.pyt push_arc<