3
`¢JZ  ã               @   s(   d dl mZ G d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   ú//usr/lib/python3/dist-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   Zfunctionr   r   r   Úmap'   s    zPath.mapé    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)r   )r   )	Ú__name__Ú
__module__Ú__qualname__r   r	   r
   r   r   r   r   r   r   r   r      s   

r   N)Ú r   Úobjectr   ZcoreÚpathr   r   r   r   Ú<module>   s   %