
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>

^c           @   s9   d  Z  d d l Td d l Z d   Z d   Z e   d S(   s   Draw on top of an imagei(   t   *Nc          C   s   t  j d }  t   } t d |   } | j   | j   } } t | d | d | } | j d d d t d | | j	   | j
 d t  | j   d  S(	   Ni   t   filet   widtht   heighti    t   anchort   images
   <Button-1>(   t   syst   argvt   Tkt
   PhotoImageR   R   t   Canvast   create_imaget   NWt   packt   bindt   blobt   mainloop(   t   filenamet   roott   imgt   wt   ht   canv(    (    s4   /usr/lib64/python2.7/Demo/tkinter/guido/imagedraw.pyt   main   s    	
c      	   C   sX   |  j  |  j } } |  j } d } | j | | | | | | | | d d d d d  S(   Ni   t   fillt   redt   outlinet    (   t   xt   yt   widgett   create_oval(   t   eventR   R   R   t   r(    (    s4   /usr/lib64/python2.7/Demo/tkinter/guido/imagedraw.pyR      s    	(   t   __doc__t   TkinterR   R   R   (    (    (    s4   /usr/lib64/python2.7/Demo/tkinter/guido/imagedraw.pyt   <module>   s
   
		