ó
N'—^c           @   s6   d  d l  m Z d e f d „  ƒ  YZ e j j Z d S(   iÿÿÿÿ(   t   Imaget   Pathc           B   sD   e  Z d  „  Z d d „ Z d „  Z d „  Z d d „ Z d „  Z RS(   c         C   s   d  S(   N(    (   t   selft   xy(    (    s/   /tmp/pip-unpacked-wheel-ivxKtu/PIL/ImagePath.pyt   __init__   s    i   c         C   s   d S(   s…   
        Compacts the path, by removing points that are close to each other.
        This method modifies the path in place.
        N(    (   R   t   distance(    (    s/   /tmp/pip-unpacked-wheel-ivxKtu/PIL/ImagePath.pyt   compact   s    c         C   s   d S(   s   Gets the bounding box.N(    (   R   (    (    s/   /tmp/pip-unpacked-wheel-ivxKtu/PIL/ImagePath.pyt   getbbox#   s    c         C   s   d S(   s!   Maps the path through a function.N(    (   R   t   function(    (    s/   /tmp/pip-unpacked-wheel-ivxKtu/PIL/ImagePath.pyt   map'   s    i    c         C   s   d S(   s  
        Converts the path to Python list.
        #
        @param flat By default, this function returns a list of 2-tuples
            [(x, y), ...].  If this argument is true, it returns a flat list
            [x, y, ...] instead.
        @return A list of coordinates.
        N(    (   R   t   flat(    (    s/   /tmp/pip-unpacked-wheel-ivxKtu/PIL/ImagePath.pyt   tolist+   s    	c         C   s   d S(   s   Transforms the path.N(    (   R   t   matrix(    (    s/   /tmp/pip-unpacked-wheel-ivxKtu/PIL/ImagePath.pyt	   transform6   s    (   t   __name__t
   __module__R   R   R   R	   R   R   (    (    (    s/   /tmp/pip-unpacked-wheel-ivxKtu/PIL/ImagePath.pyR      s   			N(   t   PILR    t   objectR   t   coret   path(    (    (    s/   /tmp/pip-unpacked-wheel-ivxKtu/PIL/ImagePath.pyt   <module>   s   %