o
    i`ƒd6  ã                   @   s   ddd„Z G dd„ dƒZd S )Nc                 C   s   t | ƒS )z£
    Attempting to be compatible with PIL's ImageDraw, but suitable for reportlab's SVGCanvas.

    :param im: The image to draw in.
    :param mode: ignored.
    )Ú	ImageDraw)ÚimÚmode© r   ú\/var/www/mitschrieb_seite/venv/lib/python3.10/site-packages/easy_thumbnails/VIL/ImageDraw.pyÚDraw   s   r   c                   @   s   e Zd Zdd„ Zddd„ZdS )r   c                 C   s
   || _ d S ©N)r   )Úselfr   r   r   r   Ú__init__   s   
zImageDraw.__init__Né   c                 C   sD   |r	| j j |¡ |r| j j |¡ | j j |¡ | j jj|Ž  d S r   )r   ÚcanvasÚsetFillColorÚsetStrokeColorÚsetLineWidthÚrect)r   ÚxyÚfillÚoutlineÚwidthr   r   r   Ú	rectangle   s   zImageDraw.rectangle)NNr
   )Ú__name__Ú
__module__Ú__qualname__r	   r   r   r   r   r   r      s    r   r   )r   r   r   r   r   r   Ú<module>   s   
 
