î
úÙ X  ã               @   s6   d  d l  m Z Gd d „  d e ƒ Z e j j Z d S)é    )ÚImagec               @   s^   e  Z d  Z d d „  Z d d d „ Z d d „  Z d d	 „  Z d
 d d „ Z d d „  Z d S)ÚPathc             C   s   d  S)N© )ÚselfZxyr   r   úJ/home/ubuntu/projects/ifolica/lib/python3.4/site-packages/PIL/ImagePath.pyÚ__init__   s    zPath.__init__é   c             C   s   d S)z…
        Compacts the path, by removing points that are close to each other.
        This method modifies the path in place.
        Nr   )r   Zdistancer   r   r   Úcompact   s    zPath.compactc             C   s   d S)zGets the bounding box.Nr   )r   r   r   r   Úgetbbox#   s    zPath.getbboxc             C   s   d S)z!Maps the path through a function.Nr   )r   Úfunctionr   r   r   Úmap'   s    zPath.mapr   c             C   s   d S)a  
        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.
        Nr   )r   Zflatr   r   r   Útolist+   s    	zPath.tolistc             C   s   d S)zTransforms the path.Nr   )r   Zmatrixr   r   r   Ú	transform6   s    zPath.transformN)	Ú__name__Ú
__module__Ú__qualname__r   r	   r
   r   r   r   r   r   r   r   r      s   r   N)ZPILr   Úobjectr   ÚcoreÚpathr   r   r   r   Ú<module>   s   %